Isolate overview panel overrides.

This commit is contained in:
Paulo Reis 2017-01-09 14:30:29 +00:00
parent a4097b4709
commit 4871d56725
2 changed files with 4 additions and 10 deletions

View file

@ -55,11 +55,7 @@ define [
$reviewPanelEl.css "right", "#{ scrollbar.scrollbarWidth }px"
else
$reviewPanelEl.css "right", "0"
$scope.$watch "reviewPanel.subView", (subView) ->
return if !subView?
updateScrollbar()
$scope.$watch "ui.reviewPanelOpen", (open) ->
return if !open?
if !open
@ -72,6 +68,7 @@ define [
$scope.$watch "reviewPanel.subView", (view) ->
return if !view?
updateScrollbar()
if view == $scope.SubViews.OVERVIEW
refreshOverviewPanel()

View file

@ -137,7 +137,6 @@
bottom: 0;
}
.rp-state-overview & {
flex-grow: 2;
overflow-y: auto;
@ -314,7 +313,7 @@
.rp-entry-actions {
display: flex;
.rp-state-overview & {
.rp-entry-list .rp-state-overview & {
display: none;
}
}
@ -336,14 +335,12 @@
line-height: 1.4;
border-bottom: solid 1px @rp-border-grey;
&:last-child {
margin-bottom: 2px;
border-bottom-width: 0;
}
.rp-state-overview & {
.rp-entry-list .rp-state-overview & {
margin: 4px 5px;
&:first-child {