Skip to content

Commit

Permalink
Fix the code tag overflow on mobile resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
timothepearce committed Jan 8, 2021
1 parent 380efdc commit 9909b53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/css/_prism.css
Expand Up @@ -63,8 +63,10 @@ pre[class*="language-"] {
}

.docs_main :not(pre) > code {
display: inline-flex;
padding: 0 .125rem;
display: inline-block;
max-width: 100%;
overflow-x: scroll;
}

.token.comment,
Expand Down

0 comments on commit 9909b53

Please sign in to comment.