Skip to content

Commit

Permalink
chore(docs): use max-height for code highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtBlue committed Oct 17, 2024
1 parent 82fe1dd commit cc37971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/highlight-code/index.marko
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $ const promise = prettier.format(code.trim(), {

<style>
pre[class*=language-] {
height: ${height}px;
max-height: ${height}px;
overflow: auto;
}
Expand Down

0 comments on commit cc37971

Please sign in to comment.