mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 15:53:28 +00:00
[dir view, shared dir view] grid mode: display fold/file names in 2 lines (with ellipsis when it needs) (#6261)
This commit is contained in:
@@ -55,8 +55,6 @@
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
word-break: keep-all;
|
word-break: keep-all;
|
||||||
white-space: nowrap;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
line-height: 17px;
|
line-height: 17px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
@@ -64,6 +62,10 @@
|
|||||||
.grid-file-name-link {
|
.grid-file-name-link {
|
||||||
color: #212529;
|
color: #212529;
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid-file-locked-icon {
|
.grid-file-locked-icon {
|
||||||
|
Reference in New Issue
Block a user