@@ -110,24 +110,6 @@ styles = jss
110110 { display: " flex"
111111 , flexFlow: " row nowrap"
112112
113- , " &[data-force-top-label=\" true\" ]" :
114- { flexFlow: " column nowrap"
115-
116- , " & .labeled-field--left" :
117- { flex: " initial"
118- , whiteSpace: " normal"
119- }
120-
121- , " & .labeled-field--right" :
122- { flex: " initial"
123- , maxWidth: " none"
124- }
125- }
126-
127- , " @media (max-width: 448px)" :
128- { flexFlow: " column nowrap"
129- }
130-
131113 , " & .labeled-field--left" :
132114 { flex: " 0 1 30%"
133115 , whiteSpace: " nowrap"
@@ -138,13 +120,32 @@ styles = jss
138120 , maxWidth: " 70%"
139121 }
140122
123+ , " &[data-force-top-label=\" true\" ]" : labeledFieldTopLabelStyles
124+
125+ , " @media (max-width: 448px)" : labeledFieldTopLabelStyles
126+
141127 , " & .labeled-field--validation-error" : labeledFieldValidationErrorStyles
142128
143129 , " & .labeled-field--validation-warning" : labeledFieldValidationWarningStyles
144130 }
145131 }
146132 }
147133
134+ labeledFieldTopLabelStyles :: JSS
135+ labeledFieldTopLabelStyles = jss
136+ { flexFlow: " column nowrap"
137+
138+ , " & .labeled-field--left" :
139+ { flex: " initial"
140+ , whiteSpace: " normal"
141+ }
142+
143+ , " & .labeled-field--right" :
144+ { flex: " initial"
145+ , maxWidth: " none"
146+ }
147+ }
148+
148149labeledFieldValidationErrorStyles :: JSS
149150labeledFieldValidationErrorStyles = jss
150151 { color: cssStringHSLA colors.accent3
0 commit comments