1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-26 23:34:45 +00:00

txt viewer support auto wrap (#7815)

* txt file support wrap line

* external txt file support wrap line

* change more icon
This commit is contained in:
Michael An
2025-06-17 21:47:01 +08:00
committed by GitHub
parent ec4918be54
commit 32433e5b1a
8 changed files with 183 additions and 39 deletions

View File

@@ -59,6 +59,29 @@
top: 145px !important;
}
.shared-file-view-head .file-toolbar-btn {
width: 28px;
height: 28px;
padding: 0 4px;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
}
.shared-file-view-head .file-toolbar-btn .sdocfont {
color: #666;
}
.shared-file-view-head .file-toolbar-btn .seafile-multicolor-icon {
fill: #666;
}
.shared-file-view-head .file-toolbar-btn:hover {
background-color: #EFEFEF;
border-radius: 3px;
}
@media (max-width: 991.98px) {
.shared-file-view-head {
width: 100%;