1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 01:41:39 +00:00

mobile-markdown (#2873)

This commit is contained in:
Michael An
2019-01-23 11:24:14 +08:00
committed by Daniel Pan
parent bba597f6bf
commit e0bd400a5e
4 changed files with 26 additions and 4 deletions

View File

@@ -184,8 +184,11 @@
height: 100%; height: 100%;
} }
@media (max-width: 992px) { @media (max-width: 768px) {
.main .cur-view-right-part { .markdown-viewer-render-content {
width: 80% !important; margin: 0px;
}
.header .file-operation-btn {
padding: 0.1rem 0.25rem;
} }
} }

View File

@@ -145,4 +145,16 @@
.seafile-comment-footer .seafile-add-comment .add-comment-input { .seafile-comment-footer .seafile-add-comment .add-comment-input {
min-height: 30px; min-height: 30px;
} }
.seafile-comment-list .comment-vacant {
padding: 10px;
}
.seafile-comment {
font-size: 12px;
}
.seafile-comment-footer .seafile-add-comment .submit-comment {
height: 24px;
}
.seafile-comment-footer {
min-height: 120px;
}
} }

View File

@@ -74,7 +74,13 @@
.shared-file-view-body .md-view { .shared-file-view-body .md-view {
width: 95%; width: 95%;
} }
.shared-file-view-body .md-view .article { .shared-file-view-body .md-view {
padding: 55px 50px;
}
}
@media (max-width: 768px) {
.shared-file-view-body .md-view {
padding: 40px; padding: 40px;
} }
} }

View File

@@ -4,6 +4,7 @@
<html lang="{{ LANGUAGE_CODE }}"> <html lang="{{ LANGUAGE_CODE }}">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<title>{{ filename }}</title> <title>{{ filename }}</title>
<link rel="shortcut icon" href="{{ MEDIA_URL }}{{ favicon_path }}" /> <link rel="shortcut icon" href="{{ MEDIA_URL }}{{ favicon_path }}" />