We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c41bd90 commit 8ad79e1Copy full SHA for 8ad79e1
src/SelectField/styled/wrapper.js
@@ -6,7 +6,7 @@ export default styled.div`
6
padding-right: 20px;
7
8
@media (min-width: 768px) {
9
- width: calc(${p => p.theme.inlineLabelWidth} + ${p => p.theme.inputWidth} + 20px);
+ width: calc(${p => p.theme.inputWidth} * 1.3);
10
}
11
12
${p => p.labelDisplay === 'inline' && `
@@ -17,9 +17,10 @@ export default styled.div`
17
display: inline-block;
18
19
20
- & :global .Select-placeholder,
21
- & :global .Select--single > .Select-control .Select-value {
+ & .Select-placeholder,
+ & .Select--single > .Select-control .Select-value {
22
max-width: calc(${p.theme.inputWidth} - 25px);
23
+ overflow: hidden;
24
25
`}
26
0 commit comments