From: Mark Otto Date: Wed, 3 Jun 2026 20:57:39 +0000 (-0700) Subject: Widen custom switch component (#42460) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94aed759b4656cfe77826d3698570c3474dbdce3;p=thirdparty%2Fbootstrap.git Widen custom switch component (#42460) Increase --switch-width multiplier from 1.5 to 1.75 of the switch height for a wider track. --- diff --git a/scss/forms/_switch.scss b/scss/forms/_switch.scss index 04a03c063b..5b946edd10 100644 --- a/scss/forms/_switch.scss +++ b/scss/forms/_switch.scss @@ -10,7 +10,7 @@ $switch-tokens: () !default; $switch-tokens: defaults( ( --switch-height: 1.25rem, - --switch-width: calc(var(--switch-height) * 1.5), + --switch-width: calc(var(--switch-height) * 1.75), --switch-padding: .0625rem, --switch-margin-block: .125rem, --switch-bg: var(--bg-3),