diff options
author | Anna Koskinen <Ansku@users.noreply.github.com> | 2021-03-03 12:08:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 12:08:38 +0200 |
commit | c7345a730db2df83e0aebb335dcbd69126ec6ced (patch) | |
tree | 7bddc0f275f0d51fb674dc61e4821ee8fa3c0e19 /themes | |
parent | e858bc8a13c539e1093c4670927e3ccd973981d5 (diff) | |
download | vaadin-framework-c7345a730db2df83e0aebb335dcbd69126ec6ced.tar.gz vaadin-framework-c7345a730db2df83e0aebb335dcbd69126ec6ced.zip |
Fix displaying checkboxes within Grid editor row. (#12212)
* Fix displaying checkboxes within Grid editor row.
- Checkbox margins should match regular row content margins.
- Multiselect checkbox label should only be visible for assistive
devices.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss b/themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss index 813f39d753..33ab02105b 100644 --- a/themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss +++ b/themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss @@ -474,7 +474,7 @@ $v-grid-details-border-bottom-stripe: 1px solid darken($v-grid-row-background-co padding-right: $v-grid-cell-padding-horizontal / 2; } - input[type="checkbox"] { + :not(.v-assistive-device-only-label).v-widget > input[type="checkbox"] { margin-left: $v-grid-cell-padding-horizontal; } @@ -750,7 +750,7 @@ $v-grid-drag-indicator-color: $v-focus-color; padding-right: round($v-grid-cell-padding-horizontal / 2); } - .v-checkbox { + .v-checkbox.v-widget { margin: 0 round($v-grid-cell-padding-horizontal / 2) 0 $v-grid-cell-padding-horizontal; > input[type="checkbox"] { |