Skip to content

Commit 4798ea6

Browse files
committed
fix toggle
1 parent ad7028c commit 4798ea6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/toggle/toggle.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ const ToggleComponent: React.FC<ToggleProps> = ({
7575
<style jsx>{`
7676
.toggle-label {
7777
-webkit-tap-highlight-color: transparent;
78-
display: inline-block;
78+
display: inline-flex;
79+
vertical-align: middle;
80+
white-space: nowrap;
81+
align-items: center;
7982
vertical-align: middle;
8083
white-space: nowrap;
8184
user-select: none;

0 commit comments

Comments
 (0)