Skip to content

Commit

Permalink
🎨 Update code-blocks layout
Browse files Browse the repository at this point in the history
  • Loading branch information
arv-anshul committed Mar 17, 2024
1 parent 8ff3c5b commit fa1e0eb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/stylesheets/customize.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,19 @@
.highlight span.filename {
border-bottom: none;
border-radius: var(--base-border-radius);
display: inline;
font-family: var(--md-code-font-family);
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
margin-bottom: 5px;
text-align: center;
}
.md-typeset pre > code,
.highlight span.filename + pre > code {
border-radius: var(--base-border-radius);
border-top-left-radius: 0;
}
.md-typeset pre > code {
border-radius: var(--base-border-radius);
}

/* Customize admonition layout */
Expand Down

0 comments on commit fa1e0eb

Please sign in to comment.