File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -256,17 +256,17 @@ export const helpMessageMargin = (marginLeft: number): CSSProp => css`
256256` ;
257257
258258// label is not STANDARD (absolute position) and input has inner left content
259- export const labelInTopStyles = ( marginLeft : number , affixWidth : number ) : CSSProp => css `
259+ export const labelInTopStyles = ( marginLeft : number , inputWidth : number ) : CSSProp => css `
260260 > div {
261261 margin-left : ${ marginLeft } rem;
262- width : ${ affixWidth } px;
262+ max- width: ${ inputWidth } px;
263263 }
264264 /* We need to write the CSS code inside this CSS extension, which will only be applied to the web page when opening the Firefox browser. */
265265 /* Firefox need a explicit position when you use position:absolute; */
266266 @-moz-document url-prefix() {
267267 label {
268268 left : calc (${ marginLeft } rem);
269- width : ${ affixWidth } px;
269+ max- width: ${ inputWidth } px;
270270 }
271271 }
272272` ;
You can’t perform that action at this time.
0 commit comments