Skip to content

Commit 0609762

Browse files
committed
fix growing row height
1 parent 529ded0 commit 0609762

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/sit-onyx/src/components/OnyxDataGrid/features/renderer.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
.onyx-data-grid-boolean-cell {
1111
color: var(--onyx-color-text-icons-neutral-medium);
1212
text-align: center;
13+
14+
.onyx-icon {
15+
vertical-align: top;
16+
}
1317
}
1418
}
1519
}

packages/sit-onyx/src/components/OnyxIcon/OnyxIcon.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ const props = defineProps<OnyxIconProps>();
3434
min-width: var(--icon-size);
3535
height: var(--icon-size);
3636
fill: var(--icon-color);
37+
vertical-align: middle;
3738
3839
& > svg {
3940
// display svg as block instead of default inline, to remove vertical alignment

0 commit comments

Comments
 (0)