[web] Remove absolute font-size for code, kdb, samp (#24078)

* Swap pre/div in split-test-dump-modal.tsx

* Remove fixed font-size and line-height for code/kdb/pre/samp

* Set the font-size of code,kdb,samp to 1em instead of 0.875em

* Remove unnecessary `font-size: inherit`

GitOrigin-RevId: b5b19cf08774312ad1b3c4dcf16ea08e08093ccb
This commit is contained in:
Antoine Clausse
2025-03-06 10:50:26 +01:00
committed by Copybot
parent 13b4e6333c
commit 13e97ab2c9
2 changed files with 5 additions and 6 deletions

View File

@@ -63,11 +63,14 @@ h6,
// Peformatted text, sample output, code, keyboard input elements
// E.g.: Git authentication token
pre {
@include body-base;
}
code,
kbd,
pre,
samp {
@include body-base;
font-size: 1em;
}
.list-style-check-green {

View File

@@ -41,10 +41,6 @@
display: flex;
align-items: center;
justify-content: space-between;
code {
font-size: inherit;
}
}
}
}