1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 14:50:29 +00:00

Fix txt view (#2964)

* user-select-translation (#2956)

* fix-css
This commit is contained in:
Michael An
2019-02-19 19:59:42 +08:00
committed by Daniel Pan
parent 4047de7457
commit 1e5db84852
3 changed files with 23 additions and 12 deletions

View File

@@ -12,12 +12,16 @@
.txt-file-view-header {
width: 100%;
padding: 12px 15px;
padding: 4px 10px;
border-bottom: 1px solid #c9c9c9;
justify-content: space-between;
flex-shrink: 0;
}
.txt-view-button-group {
align-items: center;
}
.txt-file-view-body {
height: calc(100% - 60px);
width: 100%;
@@ -71,19 +75,23 @@
}
.file-title .file-internal-link,
.file-title .file-star {
.file-title .file-star,
.file-title .file-lock {
font-size: .875rem;
cursor: pointer;
margin-left: .5rem;
vertical-align: text-bottom;
}
.file-title .file-star .star {
color: #f89a68;
}
.file-internal-link {
color: #585858;
}
.txt-file-view-body .txt-view-comment {
background: #fff;
display: flex;
height: 100%;
}
@@ -96,4 +104,5 @@
.txt-file-view-body .txt-view-comment .seafile-comment {
width: 30%;
background: #fff;
}