Skip to content

Commit c5cec8f

Browse files
committed
fix: code blocks button alignment
1 parent d5c8111 commit c5cec8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/blog/[post]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
wrapper.className = 'relative'
1515
node.parentNode?.insertBefore(wrapper, node)
1616
wrapper.appendChild(node)
17-
const smallPre = (node as HTMLPreElement).offsetHeight < 70
17+
const smallPre = (node as HTMLPreElement).offsetHeight < 90
1818
1919
mount(CopyButton, {
2020
target: wrapper,

0 commit comments

Comments
 (0)