style: code font-size

This commit is contained in:
Lucas Larroche 2023-02-13 17:51:05 +07:00
parent 13afcc90ab
commit 76fda2f6df
7 changed files with 7 additions and 10 deletions

View file

@ -1072,7 +1072,7 @@ table[role=grid] tbody tr:nth-child(odd) {
/**
* Code
*/
pre,
pre:not(:has(code)),
code,
kbd,
samp {
@ -1110,7 +1110,6 @@ pre > code {
display: block;
padding: var(--pico-spacing);
background: none;
font-size: inherit;
line-height: var(--pico-line-height);
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1166,7 +1166,7 @@ table[role=grid] tbody tr:nth-child(odd) {
/**
* Code
*/
pre,
pre:not(:has(code)),
code,
kbd,
samp {
@ -1204,7 +1204,6 @@ pre > code {
display: block;
padding: var(--pico-spacing);
background: none;
font-size: inherit;
line-height: var(--pico-line-height);
}

File diff suppressed because one or more lines are too long

2
css/pico.min.css vendored

File diff suppressed because one or more lines are too long

View file

@ -13,7 +13,7 @@
// 1. Correct the inheritance and scaling of font size in all browsers
// 2. Correct the odd `em` font sizing in all browsers
pre,
pre:not(:has(code)),
code,
kbd,
samp {
@ -55,7 +55,6 @@
display: block;
padding: var(#{$}spacing);
background: none;
font-size: inherit;
line-height: var(#{$}line-height);
}
}