Skip to content

Commit 4be4015

Browse files
committed
add more room for arrow, account for margin
1 parent 3955555 commit 4be4015

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/select/select.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ $mat-select-panel-max-height: 256px !default;
2424
position: relative;
2525

2626
[aria-disabled='true'] & {
27-
background-position: 0 bottom;
2827
cursor: default;
2928
user-select: none;
3029
}
@@ -77,7 +76,7 @@ $mat-select-panel-max-height: 256px !default;
7776

7877
.mat-select-value {
7978
position: absolute;
80-
max-width: calc(100% - #{$mat-select-arrow-size * 2});
79+
max-width: calc(100% - #{($mat-select-arrow-size + $mat-select-arrow-margin) * 2});
8180

8281
// Firefox and some versions of IE incorrectly keep absolutely
8382
// positioned children of flex containers in the flex flow when calculating

0 commit comments

Comments
 (0)