Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Fix(select): layout issue #7509

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions src/components/select/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,18 @@ md-select {
min-height: 26px;
flex-grow: 1;

._md-text {
display: inline;
}

*:first-child {
flex: 1 0 auto;
> span:not(._md-select-icon) {
max-width: 100%;
flex: 1 1 auto;
transform: translate3d(0, 2px, 0);
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
transform: translate3d(0, 2px, 0);

._md-text {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this nested under & > span:not(._md-select-icon) ?
What is the use case ?

display: inline;
}
}

._md-select-icon {
Expand Down