File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 265265 }
266266 /* stylelint-enable selector-max-specificity */
267267}
268+
269+ @media only screen and (max-width : @width-breakpoint-mobile ) {
270+ .olform {
271+ // Make the two-column edit layout stack vertically
272+ .formBackLeft ,
273+ .formBackRight ,
274+ .formBackLeft.formBackLeft ,
275+ .formBackRight.formBackRight {
276+ float : none !important ;
277+ width : 100% !important ;
278+ }
279+
280+ // Make identifier/classification tables responsive: stack cells
281+ table .identifiers {
282+ width : 100% !important ;
283+ table-layout : auto ;
284+ }
285+
286+ table .identifiers tr {
287+ display : block ;
288+ margin : 0 0 8px 0 ;
289+ }
290+
291+ table .identifiers td {
292+ display : block ;
293+ width : 100% !important ;
294+ box-sizing : border-box ;
295+ padding : 6px 0 ;
296+ border : none ;
297+ }
298+
299+ // Make form inputs full-width and remove right margins that caused overflow
300+ input [type= " text" ],
301+ input [type= " email" ],
302+ input [type= " url" ],
303+ textarea ,
304+ select {
305+ width : 100% !important ;
306+ margin-right : 0 !important ;
307+ }
308+
309+ // Links/form groups that used fixed min-width should be allowed to shrink
310+ .links-form__label ,
311+ .links-form__url ,
312+ .mia__reorder {
313+ min-width : 0 !important ;
314+ }
315+
316+ // Avoid horizontal gutters from content areas
317+ .formBack {
318+ padding-left : 8px ;
319+ padding-right : 8px ;
320+ }
321+ }
322+ }
You can’t perform that action at this time.
0 commit comments