mirror of
https://github.com/picocss/pico.git
synced 2025-04-22 01:26:13 -04:00
Define inlined code font-size with em unit
This commit is contained in:
parent
9ef002d8ab
commit
cc164857b9
1 changed files with 2 additions and 2 deletions
|
@ -9,13 +9,13 @@
|
|||
// ––––––––––––––––––––
|
||||
|
||||
// 1. Correct the inheritance and scaling of font size in all browsers
|
||||
// 2. Correct the odd `em` font sizing in all browsers
|
||||
// 2. Correct the font sizing in all browsers
|
||||
pre,
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: var(--font-family); // 1
|
||||
font-size: .875rem; // 2
|
||||
font-size: .875em; // 2
|
||||
}
|
||||
|
||||
// Prevent overflow of the container in all browsers (opinionated)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue