summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-06-20 12:59:14 +0300
committerHenri Sara <henri.sara@gmail.com>2017-06-20 12:59:14 +0300
commitf700c01e12ea5be80d88587a2720a03187922f2c (patch)
treee6e1cdd58cfe034769e29cdc85abc70dd1746331 /themes
parent086170faf858062d2d85fca7fade901a6070c2c2 (diff)
downloadvaadin-framework-f700c01e12ea5be80d88587a2720a03187922f2c.tar.gz
vaadin-framework-f700c01e12ea5be80d88587a2720a03187922f2c.zip
Enable row height and content mode settings for Tree (#9540)
* Enable row height setting for Tree * Add content mode for captions * Align expander element by default to top The content mode allows use of preformatted and HTML captions that bring value to row height Fixes #9411
Diffstat (limited to 'themes')
-rw-r--r--themes/src/main/themes/VAADIN/themes/valo/components/_treegrid.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/src/main/themes/VAADIN/themes/valo/components/_treegrid.scss b/themes/src/main/themes/VAADIN/themes/valo/components/_treegrid.scss
index 0fd812bdf8..ca2078e410 100644
--- a/themes/src/main/themes/VAADIN/themes/valo/components/_treegrid.scss
+++ b/themes/src/main/themes/VAADIN/themes/valo/components/_treegrid.scss
@@ -27,6 +27,9 @@ $v-treegrid-class-depth: depth !default;
.#{$primary-stylename}-expander {
+ display: inline-block;
+ vertical-align: top;
+
&::before {
display: inline-block;
width: $v-treegrid-expander-width;
@@ -62,6 +65,7 @@ $v-treegrid-class-depth: depth !default;
// Expander and cell content in same line
.#{$primary-stylename}-cell-content {
display: inline-block;
+ vertical-align: middle;
}
.#{$primary-stylename}-row-focused {