Truncate long title with ellipsis in Archives.

Extended from mobile views to desktop views.
This commit is contained in:
Cotes Chung 2019-11-04 04:35:13 +08:00
parent 79b5f51eb5
commit 342a28d6ed

View file

@ -1011,6 +1011,12 @@ a.tag:hover {
background-image: linear-gradient(to left, #fff, #fbfbfb, #fbfbfb, #fbfbfb, #fff);
}
#archives li>div {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#archives span.lead {
font-size: 1.5rem;
font-family: 'Oswald', sans-serif;
@ -1257,12 +1263,6 @@ div.tooltip-inner { /* Overrided BS4 Tooltip */
letter-spacing: 0;
}
#archives li>div {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#page-tag ul>li>a,
#page-category ul>li>a {
white-space: nowrap;