@dejwcake/craftable 2.1.0 → 2.1.1

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": "@dejwcake/craftable",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "This is a frontend dependency for Craftable. Craftable is a Laravel-based open-source toolkit for building administration interfaces.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -79,3 +79,15 @@
79
79
  label:hover::before {
80
80
  border: 1px solid $primary !important;
81
81
  }
82
+
83
+ /* Inline switch: no float or reserved gutter, so it sits where it is placed -- in a listing cell,
84
+ a detail row, or anywhere else. Bootstrap otherwise pulls the input back over the preceding
85
+ column. */
86
+ .form-switch.form-switch-inline {
87
+ padding-left: 0;
88
+
89
+ .form-check-input {
90
+ margin-left: 0;
91
+ float: none;
92
+ }
93
+ }
@@ -39,15 +39,9 @@ td > .switch {
39
39
  .table-listing td .form-switch.form-switch-inline {
40
40
  display: flex;
41
41
  justify-content: center;
42
- padding-left: 0;
43
42
  min-width: 2.5em;
44
43
  }
45
44
 
46
- .table-listing td .form-switch.form-switch-inline .form-check-input {
47
- margin-left: 0;
48
- float: none;
49
- }
50
-
51
45
  @media (width <= 991px) {
52
46
  .table-listing {
53
47
  th,