Skip to content

Commit c1d6c14

Browse files
committed
chore: shrink input when there is no focus, prevents empty line when not focused
1 parent d495072 commit c1d6c14

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/modules/data-widgets/src/themesource/datawidgets/web/_datagrid-dropdown-filter.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,14 @@ $root: ".widget-dropdown-filter";
281281
width: initial;
282282
}
283283

284+
&:not(:focus-within) {
285+
#{$root}-input {
286+
opacity: 0;
287+
flex-shrink: 1;
288+
min-width: 1px;
289+
}
290+
}
291+
284292
#{$root}-clear {
285293
border-color: transparent;
286294
}

0 commit comments

Comments
 (0)