1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 06:33:48 +00:00

shared md & trash snapshot md

This commit is contained in:
杨顺强
2023-12-07 15:14:34 +08:00
parent 551213c429
commit da89c9a338
4 changed files with 35 additions and 72 deletions

View File

@@ -1,9 +1,14 @@
.md-content {
box-shadow: 0 0 6px #ccc;
border: 1px solid #ccc;
padding: 70px 75px;
width: calc(100% - 40px);
max-width: 950px;
background: #fff;
margin: 0 auto;
.file-view-content.md-content {
width: 100%;
height: 100%;
background: #f4f4f4;
border-right: none;
padding: 0;
display: flex;
}
.md-content .sf-slate-viewer-scroll-container .article {
border: 1px solid #ccc;
box-shadow: 0 0 6px #ccc;
padding: 70px 75px;
}

View File

@@ -48,24 +48,14 @@
overflow: auto;
}
.shared-file-view-body .article {
min-height: calc(100% - 15px);
background: #fff;
padding: 40px 60px;
margin: 0 340px 15px 40px;
border: 1px solid #e6e6dd;
.shared-file-view-body.md-view {
padding: 0;
display: flex;
min-height: 0;
}
.shared-file-view-body .article-no-outline {
max-width: 950px;
margin: 0 auto 15px;
}
.shared-file-view-body .seafile-markdown-outline {
width: 300px;
top: 145px;
bottom: 30px;
height: auto;
.shared-file-view-body .sf-slate-viewer-outline {
top: 145px !important;
}
@media (max-width: 991.98px) {
@@ -73,27 +63,10 @@
width: 100%;
padding: 10px 20px;
}
.shared-file-view-body .md-view {
width: 95%;
}
.shared-file-view-body .md-view {
padding: 55px 50px;
}
}
@media (max-width: 768px) {
.shared-file-view-body .md-view {
.sf-slate-viewer-article-container {
padding: 0 10px;
width: 100%;
}
.shared-file-view-body .md-view .article {
display: flex;
padding: 20px;
margin: 0;
}
.shared-file-view-body .seafile-markdown-outline {
display: none;
margin: 0 !important;
}
}