@stnd/styles 0.7.3 → 0.7.4
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 +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/_standard-11-forms.scss
CHANGED
|
@@ -253,11 +253,11 @@ input[type="checkbox"][role="switch"] {
|
|
|
253
253
|
(an 8px thumb inset by 2px on each side), but any consumer overriding
|
|
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
|
-
the padding never scaled down with it.
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
--switch-padding:
|
|
256
|
+
the padding never scaled down with it. Went to 0 (Francis, iterating
|
|
257
|
+
live: the thumb should fill the track, full height, no ring of bare
|
|
258
|
+
track color around it) — the thumb's own diameter now equals the
|
|
259
|
+
track's height exactly. */
|
|
260
|
+
--switch-padding: 0px;
|
|
261
261
|
|
|
262
262
|
appearance: none;
|
|
263
263
|
box-sizing: border-box; /* Reset content-box from base checkbox rule */
|