Skip to content

Commit de92ef1

Browse files
committed
Add support for core custom switches
1 parent dd372dd commit de92ef1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/scss/_custom-forms.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060

6161
.custom-control-label {
6262
position: static;
63+
6364
&:hover {
6465
cursor: pointer;
6566
}
@@ -85,6 +86,17 @@
8586
}
8687
}
8788

89+
// Custom Switches (core)
90+
//
91+
// Adjustments for the default Bootstrap custom switches.
92+
93+
.custom-switch {
94+
padding-left: $custom-switch-padding-left;
95+
96+
.custom-control-label {
97+
position: relative;
98+
}
99+
}
88100

89101
// Checkboxes
90102
//

0 commit comments

Comments
 (0)