Skip to content

Commit 94b9d20

Browse files
committed
refactor: update Search to reduce it's size when the Header runs out of space
1 parent 611f705 commit 94b9d20

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/uikit-workshop/src/scripts/components/pl-search/pl-search.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ $pl-clear-button-size-at-med: 1.4rem;
1414
pl-search {
1515
background-color: inherit;
1616
top: 0;
17-
z-index: 10;
1817
flex-shrink: 0;
1918
padding: 0.4rem 0.5rem;
2019
display: inline-block;
@@ -279,7 +278,7 @@ pl-search {
279278

280279
.pl-c-typeahead__input-wrapper {
281280
position: relative; // used for positioning search clear button in relation to the <input>
282-
flex-shrink: 0;
281+
flex-shrink: 1;
283282
}
284283

285284
.pl-c-typeahead__clear-button {

0 commit comments

Comments
 (0)