You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
feat: implement markdown file preview in Ace editor (#3431)
--------- Co-authored-by: Oleg Lobanov <oleg@lobanov.me>
This commit is contained in:
13
frontend/src/css/mdPreview.css
Normal file
13
frontend/src/css/mdPreview.css
Normal file
@@ -0,0 +1,13 @@
|
||||
.md_preview {
|
||||
overflow-y: auto;
|
||||
max-height: 80vh;
|
||||
padding: 1rem;
|
||||
border: 1px solid #000;
|
||||
font-size: 20px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
#preview-container {
|
||||
overflow: auto;
|
||||
max-height: 80vh; /* Match the max-height of md_preview for scrolling */
|
||||
}
|
||||
@@ -16,6 +16,7 @@
|
||||
@import "./login.css";
|
||||
@import "./mobile.css";
|
||||
@import "./epubReader.css";
|
||||
@import "./mdPreview.css";
|
||||
|
||||
/* For testing only
|
||||
:focus {
|
||||
|
||||
Reference in New Issue
Block a user