Fix #340: Tree view / separator overlap (#353)

pull/360/merge
SammysHP 2016-04-23 03:11:58 +01:00 committed by Dustin Falgout
parent 4492a3f9b0
commit c44f3f9b7e
1 changed files with 5 additions and 15 deletions

View File

@ -164,6 +164,7 @@
// workaround, using background istead of a border since the border will get rendered twice (?) // workaround, using background istead of a border since the border will get rendered twice (?)
background-image: image(shade($bg_color, .9)); background-image: image(shade($bg_color, .9));
background-size: 1px 1px; background-size: 1px 1px;
background-position: center center;
&:selected { background-image: image($selected_bg_color); } // FIXME is this needed? &:selected { background-image: image($selected_bg_color); } // FIXME is this needed?
@ -186,18 +187,8 @@
&.horizontal > separator { &.horizontal > separator {
background-repeat: repeat-y; background-repeat: repeat-y;
padding: 0 2px;
&:dir(ltr) { margin: 0 -2px;
margin: 0 -8px 0 0;
padding: 0 8px 0 0;
background-position: left;
}
&:dir(rtl) {
margin: 0 0 0 -8px;
padding: 0 0 0 8px;
background-position: right;
}
&.wide { &.wide {
margin: 0; margin: 0;
@ -208,10 +199,9 @@
} }
&.vertical > separator { &.vertical > separator {
margin: 0 0 -8px 0;
padding: 0 0 8px 0;
background-repeat: repeat-x; background-repeat: repeat-x;
background-position: top; padding: 2px 0;
margin: -2px 0;
&.wide { &.wide {
margin: 0; margin: 0;