Skip to content

Commit

Permalink
improve placeholder codeblock when loading page
Browse files Browse the repository at this point in the history
  • Loading branch information
LyonSyonII committed Jan 7, 2025
1 parent bb0a577 commit d2081bd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/src/components/CodeBlock/CodeBlock.astro
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,14 @@ const props = {
grid-template-columns: 90% auto;
}
}
x-code-block[showlinenumbers="true"] pre {
padding-left: 26px;
}
pre {
color: gray;
line-height: 1.4;
margin-bottom: 8px; /* 75.2px */
padding: 4px;
padding-left: 6px;
}
#buttons {
display: flex;
Expand Down

0 comments on commit d2081bd

Please sign in to comment.