]> source.dussan.org Git - vaadin-framework.git/commitdiff
Reduce tree node caption padding to make room for focus border
authorLeif Åstrand <leif@vaadin.com>
Tue, 17 Apr 2012 08:16:02 +0000 (11:16 +0300)
committerLeif Åstrand <leif@vaadin.com>
Tue, 17 Apr 2012 08:16:02 +0000 (11:16 +0300)
WebContent/VAADIN/themes/reindeer/tree/tree.css
WebContent/VAADIN/themes/runo/tree/tree.css

index f72f61c545fc84bc03391c47040df5a0b8208f2c..9f4083d42e415975a918b99bb48b33fab85a96d6 100644 (file)
@@ -26,9 +26,7 @@
        padding-left: 16px;
 }
 .v-tree-node-caption.v-tree-node-focused span{
-       padding-left: 1px;
-       padding-top: 0px;
-       padding-bottom: 0px;
+       padding: 0 1px; /* Make room for border */
 }
 .v-tree-node-focused span{
        border: 1px dotted black;       
index 14061b8afbfa8f49960c767c9da2ab6bb6292b2a..e897236587e1944293fa17f70c5b30487c45bbfe 100644 (file)
@@ -34,9 +34,7 @@
        outline:none;   
 }
 .v-tree-node-caption.v-tree-node-focused span{
-       padding-left: 1px;
-       padding-top: 0px;
-       padding-bottom: 0px;
+       padding: 0;
 }
 .v-tree-node-focused span{
        border: 1px dotted black;