Skip to content

Commit

Permalink
fix md-editor preview on small screens;
Browse files Browse the repository at this point in the history
the left side of the preview pane would go off-screen
  • Loading branch information
9001 committed Feb 24, 2024
1 parent 503face commit e558260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copyparty/web/md2.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
width: calc(100% - 56em);
}
#mw {
left: calc(100% - 55em);
left: max(0em, calc(100% - 55em));
overflow-y: auto;
position: fixed;
bottom: 0;
Expand Down

0 comments on commit e558260

Please sign in to comment.