Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 2a9207a

Browse files
committed
Add position: relative to switch label
1 parent 5e8de84 commit 2a9207a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/chakra-ui-core/src/CSwitch/CSwitch.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ const CSwitch = {
125125
as: 'label'
126126
},
127127
attrs: {
128+
position: 'relative',
128129
display: 'inline-block',
129130
verticalAlign: 'middle',
130131
...data.attrs,

0 commit comments

Comments
 (0)