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

Commit b3a4f15

Browse files
authored
Merge pull request #15 from MartijnCuppens/flex-shrink
Prevent checkbox from shrinking
2 parents 6f8aa70 + 6e92821 commit b3a4f15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
4242
backgroundOrigin: 'border-box',
4343
userSelect: 'none',
4444
colorAdjust: 'exact',
45+
flexShrink: 0,
4546
'&:focus': {
4647
outline: 'none',
4748
boxShadow: options.focusBoxShadow,
@@ -82,6 +83,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
8283
backgroundOrigin: 'border-box',
8384
userSelect: 'none',
8485
colorAdjust: 'exact',
86+
flexShrink: 0,
8587
'&:focus': {
8688
outline: 'none',
8789
boxShadow: options.focusBoxShadow,

0 commit comments

Comments
 (0)