Skip to content

Commit

Permalink
Revert "feat(Select): new label and value resize behaviour (#1694)"
Browse files Browse the repository at this point in the history
This reverts commit 891fa88.
  • Loading branch information
korvin89 committed Oct 8, 2024
1 parent 3206de4 commit 8fa9b5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ $block: '.#{variables.$ns}select-clear';
align-items: center;
margin-inline-start: auto;
z-index: 1;
flex-shrink: 0;

&:focus-visible {
border: 1px solid var(--g-color-line-generic-active);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,8 @@ $blockButton: '.#{variables.$ns}select-control__button';
@include mixins.button-reset();
@include mixins.pin($blockButton, ('::before', '::after'), var(--_--border-radius));

display: inline-grid;
grid-template-columns: auto auto;
display: inline-flex;
align-items: center;
justify-content: flex-start;
overflow: hidden;
width: 100%;
height: 100%;
Expand Down Expand Up @@ -215,7 +213,10 @@ $blockButton: '.#{variables.$ns}select-control__button';
@include mixins.text-accent;
@include mixins.overflow-ellipsis();

flex-shrink: 0;
max-width: 50%;
margin-inline-end: 4px;
white-space: nowrap;
}

&__placeholder,
Expand Down

0 comments on commit 8fa9b5e

Please sign in to comment.