Skip to content

Commit 27d1cd1

Browse files
committed
fix(select): slotted content can truncate
1 parent 8acbec5 commit 27d1cd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/components/select/select.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,8 @@ button {
294294
* works on block-level elements. A flex item is
295295
* considered blockified (https://www.w3.org/TR/css-display-3/#blockify).
296296
*/
297-
.label-text {
297+
.label-text,
298+
::slotted([slot="label"]) {
298299
text-overflow: ellipsis;
299300

300301
white-space: nowrap;

0 commit comments

Comments
 (0)