Skip to content

Commit

Permalink
style: only smaller padding if theres a filename
Browse files Browse the repository at this point in the history
  • Loading branch information
ignace committed Jan 24, 2024
1 parent 64b5e1b commit 1f034de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ code[data-diff] .diff-insertion::before {
.chapter .filename {
padding: var(--spacing-1) var(--spacing-2);
}
.chapter pre code {
.chapter .filename + pre code {
padding: var(--spacing-1) 0;
}

Expand Down

0 comments on commit 1f034de

Please sign in to comment.