Commit 641ca12c authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

extension/file2: fixed multiline ellipsis in icon view

parent 7e6ecda3
......@@ -67,7 +67,7 @@
.file2.browser>.item-container.icons>.items>.item>.icon>i{font-size:2.875em}
.file2.browser>.item-container.icons>.items>.item>.icon>input{width:1.25em;height:1.25em;position:absolute;top:0;left:0;margin:0;opacity:.2}
.file2.browser>.item-container.icons>.items>.item>.icon>input:checked{opacity:1}
.file2.browser>.item-container.icons>.items>.item>.name{text-align:center;overflow-wrap:break-word;display:block;display:-webkit-box;max-height:3.45em;padding:.15em;line-height:1.15em;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}
.file2.browser>.item-container.icons>.items>.item>.name{text-align:center;word-break:break-all;display:block;display:-webkit-box;max-height:3.55em;margin:.15em;line-height:1.15em;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}
.file2.browser>.filter{position:absolute;background:#fff;z-index:25;bottom:0;left:25px;border:1px solid #000;border-radius:3px 3px 0 0;border-bottom:0;padding:2px}
.file2.browser>.filter>.count{display:inline-block;min-width:35px;padding:0 1px}
.file2.browser>.filter>.count>i{margin:0 2px}
......
......@@ -306,13 +306,11 @@
}
> .name {
text-align: center;
// word-break: break-all;
overflow-wrap: break-word;
word-break: break-all;
display: block;
display: -webkit-box;
// max-width: 100%;
max-height: @icons-line-height * @icons-max-lines;
padding: 0.15em;
max-height: @icons-line-height * @icons-max-lines + 0.1em;
margin: 0.15em;
line-height: @icons-line-height;
-webkit-line-clamp: @icons-max-lines;
-webkit-box-orient: vertical;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment