fix md-editor preview on small screens;

the left side of the preview pane would go off-screen
This commit is contained in:
ed 2024-02-24 21:22:55 +00:00
parent 503face974
commit e5582605cd

View file

@ -9,7 +9,7 @@
width: calc(100% - 56em); width: calc(100% - 56em);
} }
#mw { #mw {
left: calc(100% - 55em); left: max(0em, calc(100% - 55em));
overflow-y: auto; overflow-y: auto;
position: fixed; position: fixed;
bottom: 0; bottom: 0;