font-size less than 10px does not working on Chrome.
fix #262
Description
I used transform:scale() instead of font-size & em.
Because font-size less than 10px does not working on Chrome.
[x] input elements
[x] icons
[x] pixel arts
[x] ~badges~
I couldn't convert the badge from em to px. so I'll recreate it with another issue.
Because the calculation of nes-badge was too complex.
&.is-medium {
// If you use `transform: scale()` , box size changes.
// So I use `margin-right` and `margin-bottom` to adjust the box size.
margin-right: $icon-size * 2;
margin-bottom: $icon-size * 2;
// 3px
transform: scale(3);
}
font-size
less than10px
does not working on Chrome.fix #262
Description I used
transform:scale()
instead offont-size
&em
. Becausefont-size
less than10px
does not working on Chrome.em
topx
. so I'll recreate it with another issue. Because the calculation ofnes-badge
was too complex.For details, refer to the following. https://jsfiddle.net/bc_rikko/q8txjL5u/
Compatibility N/A
Caveats