Skip to content
Snippets Groups Projects
Commit 6085a119 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Merge branch 'feature/ISTWCMS-6293-kpaxman-code_tag_appearance' into '1.0.x'

ISTWCMS-6293: improve appearance of <code> tag

See merge request !100
parents ed5a18ef 51d03ac1
No related branches found
No related tags found
1 merge request!100ISTWCMS-6293: improve appearance of <code> tag
...@@ -33,14 +33,16 @@ ...@@ -33,14 +33,16 @@
background-repeat: no-repeat; background-repeat: no-repeat;
} }
:where(:not(pre) > code, kbd) { // Specificity needed to override Drupal's default.
white-space: nowrap; code, kbd, samp {
font-size: 0.9rem;
} }
:where(:not(pre) > code) { :where(:not(pre) > code) {
padding: var(--size-1) var(--size-2); padding: var(--size-05) var(--size-05);
background: var(--gray-2); background: var(--gray-2);
border-radius: var(--radius-2); border-radius: var(--radius-2);
box-decoration-break: clone;
} }
:where(:not(dialog)) { :where(:not(dialog)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment