Skip to content

Commit

Permalink
feat(Select): new label and value resize behaviour (#1694)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arucard89 authored Jul 4, 2024
1 parent 8bff882 commit 891fa88
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,6 +10,7 @@ $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,8 +116,10 @@ $blockButton: '.#{variables.$ns}select-control__button';
@include mixins.button-reset();
@include mixins.pin($blockButton, ('::before', '::after'), var(--_--border-radius));

display: inline-flex;
display: inline-grid;
grid-template-columns: auto auto;
align-items: center;
justify-content: flex-start;
overflow: hidden;
width: 100%;
height: 100%;
Expand Down Expand Up @@ -213,10 +215,7 @@ $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 891fa88

Please sign in to comment.