Skip to content

Commit cf6d243

Browse files
authored
Codeblock: Fix inline CB alignment on headers (#434)
1 parent b87dfc8 commit cf6d243

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

assets/css/v2/style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1786,6 +1786,8 @@ a:hover {
17861786
position: relative;
17871787
display: flex;
17881788
color: oklch(var(--color-foreground));
1789+
gap: var(--space-3xs);
1790+
align-items: center;
17891791
}
17901792

17911793
.headerlink::before {
@@ -2242,6 +2244,7 @@ code:not(pre code) {
22422244
a code:not(pre code) {
22432245
border: solid 1px oklch(var(--color-brand) / 0.3);
22442246
border-bottom: solid 2px oklch(var(--color-brand) / 0.3);
2247+
font-size: inherit;
22452248

22462249
/* transition: border 0.15s ease-in-out; */
22472250
}

0 commit comments

Comments
 (0)