@teambit/compositions 1.0.994 → 1.0.995

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.
@@ -53,13 +53,12 @@
53
53
  }
54
54
 
55
55
  .toggleControl {
56
- width: 42px;
57
- max-width: 42px;
58
- min-width: 42px;
59
- }
60
-
61
- .toggleControl > * {
62
- width: 100%;
56
+ // Let the Toggle keep its native dimensions. The component sizes its
57
+ // knob travel in `em`, so stretching the wrapper width without scaling
58
+ // the font-size leaves the knob short of the right edge in the "on"
59
+ // state.
60
+ display: inline-flex;
61
+ flex: 0 0 auto;
63
62
  }
64
63
 
65
64
  .rangeWrapper {