summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-04-18 13:47:17 +0300
committerLeif Åstrand <leif@vaadin.com>2012-04-18 13:47:17 +0300
commitcf06923748ce75dc8113e66a40bb69297def7072 (patch)
tree6ab2cc4b56c73bd7ea828f2a799d4a39583d09d0 /WebContent
parent50a72e0689f37fa8f7c5e03cb0cfbc2db63c480a (diff)
downloadvaadin-framework-cf06923748ce75dc8113e66a40bb69297def7072.tar.gz
vaadin-framework-cf06923748ce75dc8113e66a40bb69297def7072.zip
Revert "Reduce tree node caption padding to make room for focus border"
This reverts commit 64f34f1c6ed5f910d5bf401a573d6b72539a437b. The fix is not needed to prevent scrolling any more now that margin is used instead of padding for reserving room for the layout's "margin".
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/themes/reindeer/tree/tree.css4
-rw-r--r--WebContent/VAADIN/themes/runo/tree/tree.css4
2 files changed, 6 insertions, 2 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/tree/tree.css b/WebContent/VAADIN/themes/reindeer/tree/tree.css
index 9f4083d42e..f72f61c545 100644
--- a/WebContent/VAADIN/themes/reindeer/tree/tree.css
+++ b/WebContent/VAADIN/themes/reindeer/tree/tree.css
@@ -26,7 +26,9 @@
padding-left: 16px;
}
.v-tree-node-caption.v-tree-node-focused span{
- padding: 0 1px; /* Make room for border */
+ padding-left: 1px;
+ padding-top: 0px;
+ padding-bottom: 0px;
}
.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 e897236587..14061b8afb 100644
--- a/WebContent/VAADIN/themes/runo/tree/tree.css
+++ b/WebContent/VAADIN/themes/runo/tree/tree.css
@@ -34,7 +34,9 @@
outline:none;
}
.v-tree-node-caption.v-tree-node-focused span{
- padding: 0;
+ padding-left: 1px;
+ padding-top: 0px;
+ padding-bottom: 0px;
}
.v-tree-node-focused span{
border: 1px dotted black;