Skip to content

Commit 4d1156e

Browse files
bug(checkbox toggle): mobile spacing (#4945)
* bug(checkbox toggle): mobile spacing * fix and update release notes Co-authored-by: DouG Molidor <[email protected]>
1 parent 21e5f92 commit 4d1156e

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

RELEASENOTES.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,11 @@
5252
- Labels will no longer wrap below the checkbox. When the label text wraps, it will now go directly under the previous line.
5353

5454
### [Checkbox Toggle](https://www.lightningdesignsystem.com/components/checkbox-toggle)
55-
## Added
55+
#### Added
5656
- Added `slds` as the default namespace with `sds` fallbacks for Styling Hooks.
5757
- Added reassignment of Styling Hooks for component states.
58+
#### Fixed
59+
- Fixed spacing between checkbox toggle label and input on mobile.
5860

5961
### [Color Picker](https://www.lightningdesignsystem.com/components/color-picker)
6062
#### Changed

ui/components/checkbox-toggle/RELEASENOTES.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@
66

77
## 2.17.0
88

9-
## Added
9+
### Added
1010
- Added `slds` as the default namespace with `sds` fallbacks for Styling Hooks.
1111
- Added reassignment of Styling Hooks for component states.
1212

13+
### Fixed
14+
- Fixed spacing between checkbox toggle label and input on mobile.
15+
1316
## 2.14.0
1417

1518
### Added

ui/components/checkbox-toggle/base/_touch.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
.slds-form-element__label {
66
align-items: flex-start;
77
font-size: $font-size-5;
8+
padding-right: $spacing-x-small;
89
}
910

1011
[type="checkbox"] {

0 commit comments

Comments
 (0)