Skip to content

Commit

Permalink
fix: layout shifting on small devices (mckaywrigley#258)
Browse files Browse the repository at this point in the history
* fix: overlap between plus and prompt menu icon

* fix: prompt sidebar not showing on small devices

* fix: layout shifting on small devices when there is a code block
  • Loading branch information
SyedMuzamilM authored Mar 28, 2023
1 parent 3749c9b commit abdcd45
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ html {
background: #202123;
}

@media (max-width: 720px) {
pre {
width: calc(100vw - 110px);
}
}

pre:has(div.codeblock) {
padding: 0;
}

0 comments on commit abdcd45

Please sign in to comment.