Skip to content

Commit 35a97dc

Browse files
committed
fix(list): empty items have wrong height
1 parent 30abbff commit 35a97dc

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

packages/core/scss/components/list/_layout.scss

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,11 @@
118118
inset-inline-end: 0;
119119
}
120120
}
121-
.k-list-item-text,
122-
.k-list-header-text,
123-
.k-list-optionlabel {
124-
&::before {
125-
content: "\200b";
126-
width: 0px;
127-
overflow: hidden;
128-
}
121+
122+
.k-list-item-text:empty {
123+
height: 1lh;
129124
}
125+
130126
.k-list-optionlabel {
131127
@extend .k-list-item !optional;
132128
column-gap: 0;

0 commit comments

Comments
 (0)