Skip to content

Commit

Permalink
Apply overflow handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Jul 26, 2022
1 parent 8e77706 commit 9555473
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,17 @@ const baseUnitLabelStyles = ( { selectSize }: SelectProps ) => {
`,
large: css`
box-sizing: border-box;
width: 24px;
min-width: 24px;
max-width: 48px;
height: 24px;
margin-inline-end: ${ space( 2 ) };
padding: ${ space( 1 ) };
display: flex;
justify-content: center;
align-items: center;
color: ${ COLORS.ui.theme };
font-size: 13px;
text-align-last: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
`,
};

Expand Down Expand Up @@ -125,6 +126,10 @@ const unitSelectSizes = ( { selectSize = 'default' }: SelectProps ) => {
}
`,
large: css`
display: flex;
justify-content: center;
align-items: center;
&:hover {
color: ${ COLORS.ui.borderFocus };
box-shadow: inset 0 0 0
Expand Down

0 comments on commit 9555473

Please sign in to comment.