Skip to content

Commit 47ea669

Browse files
author
Luke Bowerman
authored
fix(ToggleSwitch): Remove verticalAlign / inline-block to improve layout (#2128)
Snapshots
1 parent a27f8c6 commit 47ea669

File tree

9 files changed

+0
-2
lines changed

9 files changed

+0
-2
lines changed
-9 Bytes
Loading
-9 Bytes
Loading
6 Bytes
Loading
6 Bytes
Loading
-13 Bytes
Loading
-12 Bytes
Loading
-10 Bytes
Loading
-9 Bytes
Loading

packages/components/src/Form/Inputs/ToggleSwitch/ToggleSwitch.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,8 @@ export const ToggleSwitch = styled(ToggleSwitchLayout)`
8585
${reset}
8686
${space}
8787
88-
display: inline-block;
8988
height: 1.25rem;
9089
position: relative;
91-
vertical-align: middle;
9290
width: 2.1875rem;
9391
9492
input {

0 commit comments

Comments
 (0)