Explorar el Código

increase number of styles for indented TreeGrid rows, fixes #11358 (#11392)

tags/8.7.0.beta1
Olli Tietäväinen hace 5 años
padre
commit
1ce6654901
No account linked to committer's email address

+ 3
- 0
server/src/main/java/com/vaadin/ui/TreeGrid.java Ver fichero

/** /**
* A grid component for displaying hierarchical tabular data. * 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 * @author Vaadin Ltd
* @since 8.1 * @since 8.1
* *

+ 2
- 1
themes/src/main/themes/VAADIN/themes/valo/components/_treegrid.scss Ver fichero



// Hierarchy depth styling // Hierarchy depth styling
.#{$primary-stylename}-node { .#{$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} { &.#{$v-treegrid-class-depth}-#{$i} {
padding-left: $v-treegrid-indent * $i; padding-left: $v-treegrid-indent * $i;
} }

Cargando…
Cancelar
Guardar