diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-04-17 11:16:02 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-04-17 11:16:02 +0300 |
commit | 64f34f1c6ed5f910d5bf401a573d6b72539a437b (patch) | |
tree | 46fea4c84a42acd414768ed5564491d52686e193 /WebContent | |
parent | a33ffdcb12529a6e4cc167c411fc8031ac47de0b (diff) | |
download | vaadin-framework-64f34f1c6ed5f910d5bf401a573d6b72539a437b.tar.gz vaadin-framework-64f34f1c6ed5f910d5bf401a573d6b72539a437b.zip |
Reduce tree node caption padding to make room for focus border
Diffstat (limited to 'WebContent')
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/tree/tree.css | 4 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/runo/tree/tree.css | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/tree/tree.css b/WebContent/VAADIN/themes/reindeer/tree/tree.css index f72f61c545..9f4083d42e 100644 --- a/WebContent/VAADIN/themes/reindeer/tree/tree.css +++ b/WebContent/VAADIN/themes/reindeer/tree/tree.css @@ -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; diff --git a/WebContent/VAADIN/themes/runo/tree/tree.css b/WebContent/VAADIN/themes/runo/tree/tree.css index 14061b8afb..e897236587 100644 --- a/WebContent/VAADIN/themes/runo/tree/tree.css +++ b/WebContent/VAADIN/themes/runo/tree/tree.css @@ -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; |