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 289ad63 commit 9343d3dCopy full SHA for 9343d3d
src/SelectField/styled/wrapper.js
@@ -463,7 +463,7 @@ export default styled.div`
463
padding-right: 20px;
464
465
@media (min-width: 768px) {
466
- width: calc(${p => p.theme.inputWidth} * 1.3);
+ width: calc(${p => p.theme.inlineLabelWidth} + ${p => p.theme.inputWidth} + 20px);
467
}
468
469
${p => p.labelDisplay === 'inline' && `
@@ -472,6 +472,7 @@ export default styled.div`
472
473
474
display: inline-block;
475
+ width: calc(${p.theme.inputWidth} * 1.3);
476
477
478
& .Select-placeholder,
0 commit comments