Add `has-label` CSS class or similar to fieldLayout
Closed, InvalidPublic

Description

In making the white-space between different form widgets harmonious, an additional CSS class on fieldLayouts is needed.
Widgets without labels have to feature a slightly higher margin than the ones with.

A special problem are Checkbox- and RadioInputWidgets that have labels, but they are on the same line with the widget.


Example form taken from M101

Volker_E lowered the priority of this task from "High" to "Normal".Oct 14 2016, 11:42 PM
Volker_E edited the task description. (Show Details)
Volker_E edited the task description. (Show Details)Oct 14 2016, 11:44 PM

.oo-ui-labelElement?

Well, in order to have a selector with leverage here, it needs to be at the fieldLayout level…

I'm not sure what you mean. .oo-ui-labelElement still looks exactly like what you want.

Err, where did I look at?!? Seems like all we need is already there. Will leave this open till after a patch with amendments to margins as part of parent task.

Volker_E closed this task as "Invalid".Oct 24 2016, 1:37 AM

As @matmarex mentioned, .oo-ui-labelElement is in it's current addition sufficient for differentiating form inputs as designed.