bootstrap-rubygem icon indicating copy to clipboard operation
bootstrap-rubygem copied to clipboard

Incompatible units: 'rem' and 'px'.

Open Deekor opened this issue 7 years ago • 1 comments

Trying to override the $font-size-base variable to $font-size-base: 12px

is there any workaround to this in the gem?

Deekor avatar Jan 07 '18 22:01 Deekor

You can recalculate in rem based on calculation table i.e. here http://www.standardista.com/px-to-rem-conversion-if-root-font-size-is-16px/

So for your case $font-size-base: 12px would be $font-size-base: 0.75rem

bombergio avatar Feb 06 '18 18:02 bombergio