This repository was archived by the owner on Sep 11, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -191,8 +191,8 @@ color utilities, like `text-indigo-600`.
191191
192192### Changing the size
193193
194- Use Tailwind's width and height utilities (like ` h-6 ` and ` w-6 ` ) to customize the size of the
195- checkbox .
194+ By default, checkboxes will match the current font size. If you want to give them an explicit size,
195+ use Tailwind's width and height utilities, like ` h-6 ` and ` w-6 ` .
196196
197197<CodeSample code = { `
198198 <div class="block">
@@ -332,8 +332,8 @@ color utilities, like `text-indigo-600`.
332332
333333### Changing the size
334334
335- Use Tailwind's width and height utilities (like ` h-6 ` and ` w-6 ` ) to customize the size of the
336- radio button .
335+ By default, radio buttons will match the current font size. If you want to give them an explicit size,
336+ use Tailwind's width and height utilities, like ` h-6 ` and ` w-6 ` .
337337
338338<CodeSample code = { `
339339 <div class="block">
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ module.exports = {
2424 '.form-checkbox' : {
2525 appearance : 'none' ,
2626 display : 'inline-block' ,
27- height : theme ( 'spacing.4' , defaultTheme . spacing [ 4 ] ) ,
28- width : theme ( 'spacing.4' , defaultTheme . spacing [ 4 ] ) ,
27+ height : '1em' ,
28+ width : '1em' ,
2929 verticalAlign : 'middle' ,
3030 borderWidth : theme ( 'borderWidth.default' , defaultTheme . borderWidth . default ) ,
3131 borderRadius : theme ( 'borderRadius.default' , defaultTheme . borderRadius . default ) ,
@@ -50,8 +50,8 @@ module.exports = {
5050 '.form-radio' : {
5151 appearance : 'none' ,
5252 display : 'inline-block' ,
53- height : theme ( 'spacing.4' , defaultTheme . spacing [ 4 ] ) ,
54- width : theme ( 'spacing.4' , defaultTheme . spacing [ 4 ] ) ,
53+ height : '1em' ,
54+ width : '1em' ,
5555 verticalAlign : 'middle' ,
5656 borderWidth : theme ( 'borderWidth.default' , defaultTheme . borderWidth . default ) ,
5757 borderRadius : '9999px' ,
You can’t perform that action at this time.
0 commit comments