gd-bs 5.9.3 → 5.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "5.9.3",
3
+ "version": "5.9.4",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -164,9 +164,18 @@
164
164
  display: inherit;
165
165
  }
166
166
  /* Show the toggles as buttons */
167
- .form-check-input {
167
+ .form-check .form-check-input {
168
168
  cursor: pointer;
169
- height: 1.25em;
169
+ margin-left: -0.5rem;
170
+ }
171
+ /* Adjust checkbox size */
172
+ .form-check .form-check-input[type=checkbox] {
173
+ height: 1.25rem;
174
+ width: 1.25rem;
175
+ }
176
+ /* Fix label alignment */
177
+ .form-check .form-check-label {
178
+ margin-left: 0.5rem;
170
179
  }
171
180
  /** Color match the toggle background color to 'SharePoint Blue' */
172
181
  .form-check-input:checked {
@@ -202,6 +211,9 @@
202
211
  .form-select-sm {
203
212
  padding-right: 1.65rem;
204
213
  }
214
+ .form-switch .form-check-input {
215
+ height: 1.25em;
216
+ }
205
217
  /* Color match the toggle on focus */
206
218
  .form-switch .form-check-input:focus {
207
219
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%232d8ad6'/%3e%3c/svg%3e");