Skip to content
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
9 changes: 8 additions & 1 deletion src/lib/select/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,14 @@ $mat-select-trigger-underline-height: 1px !default;
padding: 0 2px;
transform-origin: left top;
flex-grow: 1;


// If the placeholder is very long, the overflow should be hidden
// and replaced with three dots instead.
// Otherwise, a long placeholder will be displayed in two lines.
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;

// These values are duplicated from animation code in order to
// allow placeholders to sometimes float without animating,
// for example when the value is set programmatically.
Expand Down