Skip to content

Commit

Permalink
feat(Select): new label and value resize behaviour (#1896)
Browse files Browse the repository at this point in the history
Co-authored-by: Valerii Sidorenko <[email protected]>
  • Loading branch information
Arucard89 and ValeraS authored Nov 27, 2024
1 parent 704f53b commit 2be5eb8
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 24 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
20 changes: 0 additions & 20 deletions src/components/Select/__tests__/Select.visual.test.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,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 @@ -197,10 +199,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 2be5eb8

Please sign in to comment.