diff options
-rw-r--r-- | server/src/main/java/com/vaadin/ui/TreeGrid.java | 3 | ||||
-rw-r--r-- | themes/src/main/themes/VAADIN/themes/valo/components/_treegrid.scss | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/ui/TreeGrid.java b/server/src/main/java/com/vaadin/ui/TreeGrid.java index b9e9508e24..9c01daa047 100644 --- a/server/src/main/java/com/vaadin/ui/TreeGrid.java +++ b/server/src/main/java/com/vaadin/ui/TreeGrid.java @@ -55,6 +55,9 @@ import com.vaadin.ui.declarative.DesignFormatter; /** * A grid component for displaying hierarchical tabular data. * + * Visual hierarchy depth positioning of rows is done via styles, see + * <code>_treegrid.scss</code> from Valo theme. + * * @author Vaadin Ltd * @since 8.1 * 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 ca2078e410..5536a36904 100644 --- a/themes/src/main/themes/VAADIN/themes/valo/components/_treegrid.scss +++ b/themes/src/main/themes/VAADIN/themes/valo/components/_treegrid.scss @@ -55,7 +55,8 @@ $v-treegrid-class-depth: depth !default; // Hierarchy depth styling .#{$primary-stylename}-node { - @for $i from 0 through 15 { + // see https://github.com/vaadin/framework/issues/11358 + @for $i from 0 through 31 { &.#{$v-treegrid-class-depth}-#{$i} { padding-left: $v-treegrid-indent * $i; } |