@stnd/styles 0.7.2 → 0.7.3
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/CHANGELOG.md +6 -0
- package/_standard-11-forms.scss +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/_standard-11-forms.scss
CHANGED
|
@@ -254,10 +254,10 @@ input[type="checkbox"][role="switch"] {
|
|
|
254
254
|
--switch-height alone (a smaller, denser control panel, say) kept that
|
|
255
255
|
same fixed inset and ended up with a visibly undersized thumb, since
|
|
256
256
|
the padding never scaled down with it. A ratio of the height reproduces
|
|
257
|
-
roughly that look at the default size while actually scaling — /
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
--switch-padding: calc(var(--switch-height) /
|
|
257
|
+
roughly that look at the default size while actually scaling — /14
|
|
258
|
+
(Francis, iterating live: the thumb should fill the track more, not
|
|
259
|
+
leave a ring of bare track color showing around it). */
|
|
260
|
+
--switch-padding: calc(var(--switch-height) / 14);
|
|
261
261
|
|
|
262
262
|
appearance: none;
|
|
263
263
|
box-sizing: border-box; /* Reset content-box from base checkbox rule */
|