From 8a0e51fac162d50c7f3e7ad337c98ba53e2abe63 Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Wed, 30 Jul 2014 15:29:42 +0300 Subject: [PATCH] Fix Valo Tree selection indicator for Blink (#14334) Also remove the child toggle element for leaf nodes in all browsers (previously only IE8). Change-Id: If2a1b14dcd423e9322141f36900406b745451993 --- WebContent/VAADIN/themes/valo/components/_tree.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/WebContent/VAADIN/themes/valo/components/_tree.scss b/WebContent/VAADIN/themes/valo/components/_tree.scss index 9ac2f7e43d..1327320cd4 100644 --- a/WebContent/VAADIN/themes/valo/components/_tree.scss +++ b/WebContent/VAADIN/themes/valo/components/_tree.scss @@ -116,11 +116,12 @@ $v-tree-expand-animation-enabled: false !default; &:after { content: ""; - display: inline-block; + display: block; vertical-align: top; position: absolute; z-index: 1; left: 0; + margin-top: -$v-tree-row-height; width: 100%; height: $v-tree-row-height; border-radius: $v-border-radius; @@ -153,8 +154,8 @@ $v-tree-expand-animation-enabled: false !default; @include valo-tree-expanded-icon-style(true); } - .#{$primary-stylename}-node-leaf > .#{$primary-stylename}-node-caption > div:before, - .v-ie8 & .#{$primary-stylename}-node-leaf:before { + .#{$primary-stylename}-node-leaf:before, + .#{$primary-stylename}-node-leaf > .#{$primary-stylename}-node-caption > div:before { visibility: hidden; } -- 2.39.5