@parallelogram-js/dashboard 0.1.6 → 0.1.7
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
package/scss/_datetime.scss
CHANGED
|
@@ -39,7 +39,7 @@ p-datetime.input {
|
|
|
39
39
|
position: relative;
|
|
40
40
|
min-height: #{$btn-height-md};
|
|
41
41
|
background-color: var(--bg);
|
|
42
|
-
border:
|
|
42
|
+
border: var(--control-border-width) solid var(--input);
|
|
43
43
|
border-radius: #{$radius-md};
|
|
44
44
|
font-size: #{$font-size-sm};
|
|
45
45
|
|
|
@@ -116,15 +116,19 @@
|
|
|
116
116
|
.checkbox,
|
|
117
117
|
.radio {
|
|
118
118
|
display: inline-flex;
|
|
119
|
-
|
|
119
|
+
// The control sits on the label's first line, so a label that wraps keeps it at the top rather
|
|
120
|
+
// than floating between the lines, and it never shrinks to make room for the words
|
|
121
|
+
align-items: flex-start;
|
|
120
122
|
gap: $spacing-2xs;
|
|
121
123
|
cursor: pointer;
|
|
122
124
|
user-select: none;
|
|
123
125
|
|
|
124
126
|
&__input {
|
|
125
127
|
appearance: none;
|
|
128
|
+
flex-shrink: 0;
|
|
126
129
|
width: 1rem;
|
|
127
130
|
height: 1rem;
|
|
131
|
+
margin-top: 0.125rem;
|
|
128
132
|
border: var(--control-border-width) solid var(--input);
|
|
129
133
|
background-color: transparent;
|
|
130
134
|
@include transition-default;
|
|
@@ -153,7 +157,7 @@
|
|
|
153
157
|
|
|
154
158
|
&__label {
|
|
155
159
|
font-size: $font-size-sm;
|
|
156
|
-
line-height: 1;
|
|
160
|
+
line-height: 1.25;
|
|
157
161
|
}
|
|
158
162
|
|
|
159
163
|
&:has(:disabled),
|