Skip to content

Commit

Permalink
[dir view, shared dir view] grid mode: display fold/file names in 2 l…
Browse files Browse the repository at this point in the history
…ines (with ellipsis when it needs) (#6261)
  • Loading branch information
llj committed Jul 12, 2024
1 parent 10dfe2e commit d74225c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/src/css/grid-view.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,17 @@
max-width: 100%;
overflow: hidden;
word-break: keep-all;
white-space: nowrap;
text-overflow: ellipsis;
line-height: 17px;
font-size: 14px;
}

.grid-file-name-link {
color: #212529;
font-size: 0.875rem;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
white-space: pre-wrap;
}

.grid-file-locked-icon {
Expand Down

0 comments on commit d74225c

Please sign in to comment.