1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 21:30:39 +00:00

adjust small screen button position

This commit is contained in:
Michael An
2019-04-19 15:58:11 +08:00
parent 0a180c086a
commit 63f4b93d6f
2 changed files with 80 additions and 1 deletions

View File

@@ -4,7 +4,8 @@
position: relative;
float: none;
}
.sf-md-viewer-topbar-first {
.sf-md-viewer-topbar-first,
.sf-md-viewer-topbar-first-narrow {
padding: 4px 10px;
background-color: #fff;
border-bottom: 1px solid #e5e5e5;
@@ -156,3 +157,14 @@
.seafile-md-comment .seafile-comment .seafile-comment-toggle-resolved {
width: 100%;
}
@media (max-width: 768px) {
.sf-md-viewer-topbar-first {
display: none !important;
}
}
@media (min-width: 768px) {
.sf-md-viewer-topbar-first-narrow {
display: none !important;
}
}