@thalassic/themes 22.0.0 → 22.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -14,6 +14,33 @@
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
&.tls-form-item--label-start,
|
|
18
|
+
&.tls-form-item--label-end {
|
|
19
|
+
.form-item-main {
|
|
20
|
+
flex-direction: row;
|
|
21
|
+
align-items: center;
|
|
22
|
+
gap: var(--spacing-2);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.form-item-label {
|
|
26
|
+
margin-bottom: 0;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.tls-form-item--label-end {
|
|
31
|
+
.form-item-label {
|
|
32
|
+
order: 1;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.tls-form-item--spread {
|
|
37
|
+
width: 100%;
|
|
38
|
+
|
|
39
|
+
.form-item-main {
|
|
40
|
+
justify-content: space-between;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
17
44
|
&:not(.tls-form-item--error-space-reserved) {
|
|
18
45
|
.form-item-error {
|
|
19
46
|
min-height: auto;
|
|
@@ -28,6 +55,18 @@
|
|
|
28
55
|
width: 100%;
|
|
29
56
|
}
|
|
30
57
|
|
|
58
|
+
.form-item-main {
|
|
59
|
+
display: flex;
|
|
60
|
+
flex-direction: column;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// Flex layout takes the control out of inline formatting so the slot hugs the control's
|
|
64
|
+
// real height instead of the inherited line-box height (which would leave a baseline gap
|
|
65
|
+
// below inline-block controls such as the checkbox).
|
|
66
|
+
.form-item-control {
|
|
67
|
+
display: flex;
|
|
68
|
+
}
|
|
69
|
+
|
|
31
70
|
.form-item-label {
|
|
32
71
|
margin-bottom: 0.25rem;
|
|
33
72
|
|