1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-11 11:51:27 +00:00

update file path style (#3896)

This commit is contained in:
Michael An
2019-07-23 15:53:25 +08:00
committed by Daniel Pan
parent b1a0404cb7
commit 6f2c6ae16d
3 changed files with 14 additions and 5 deletions

View File

@@ -292,10 +292,10 @@ img[src=""],img:not([src]){ /* for first loading img*/
word-break: keep-all;
max-width: 80%;
}
.path-container a {
.path-container a, .path-container span {
max-height: 50px;
overflow: hidden;
text-overflow:ellipsis;
text-overflow: ellipsis;
white-space: nowrap;
}
.path-container span, .path-container a {
@@ -304,3 +304,6 @@ img[src=""],img:not([src]){ /* for first loading img*/
.path-container span:first-child, .path-container span:last-child {
flex-shrink: 0;
}
.path-container span.path-file-name, .path-container span.path-repo-name {
flex-shrink: 1;
}