Skip to content

Commit 7c0792a

Browse files
committed
fix(website): fix code examples on certain screen sizes
Depending on the font and the viewport size, the code examples on https://quick-lint-js.com/blog/version-1.0/ might overflow. This happens on Firefox on my macOS machine, but not on Firefox on my Linux machine. Tweak the CSS breakpoint to prevent overflowing.
1 parent 2923ba6 commit 7c0792a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

website/public/main.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,9 @@ kbd.keystroke {
809809
#editors-support img {
810810
padding-bottom: 1rem;
811811
}
812+
}
812813

814+
@media only screen and (max-width: 46em) {
813815
.eslint-comparison {
814816
border-bottom: solid 1px #aaaa;
815817
grid-template-areas: "eslint" "qljs";

0 commit comments

Comments
 (0)