Skip to content

Commit 0a310f2

Browse files
authored
Merge pull request #905 from teo-tsirpanis/patch-1
Fix sizing of code elements inside headers.
2 parents 9c5a967 + a3d83d0 commit 0a310f2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/content/fsdocs-default.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,10 @@ code, table.pre, pre {
725725
-webkit-text-size-adjust: 100%;
726726
}
727727

728+
h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
729+
font-size: inherit;
730+
}
731+
728732
table.pre, #content > pre.fssnip {
729733
border: 1px solid var(--code-fence-border-color);
730734
}
@@ -1228,4 +1232,4 @@ dialog {
12281232
::backdrop {
12291233
opacity: 0.75;
12301234
}
1231-
}
1235+
}

0 commit comments

Comments
 (0)