File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 9
9
}
10
10
11
11
/* The minimum height of a form should match the minimum allowed cell height.
12
- * Note that the font here is currently 1px smaller than the Table font; not
13
- * sure if it’s necessary to make the two exactly the same . */
12
+ * The vertical margins ensure adequate separation in narrow windows when used
13
+ * with Inputs.form . */
14
14
form .__ns__ {
15
15
display : flex;
16
16
align-items : center;
17
17
flex-wrap : wrap;
18
18
min-height : 25.5px ;
19
+ margin : var (--length3 ) 0 ;
19
20
}
20
21
21
22
/* On narrow screens, the label is drawn as a block element on top of the
@@ -51,6 +52,7 @@ form.__ns__-toggle .__ns__-input {
51
52
flex-wrap : nowrap;
52
53
width : calc (var (--input-width ) + var (--label-width ));
53
54
max-width : 100% ;
55
+ margin : initial;
54
56
}
55
57
/* On wide screens, we need to handle: the label being taller than the inputs;
56
58
* the inputs being taller than the label; or both being a single line. In the
You can’t perform that action at this time.
0 commit comments