Skip to content

Commit b07589e

Browse files
committed
Truncate long title with ellipsis in Archives.
Extended from mobile views to desktop views.
1 parent 5855df4 commit b07589e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

assets/css/_src/main.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,12 @@ a.tag:hover {
10111011
background-image: linear-gradient(to left, #fff, #fbfbfb, #fbfbfb, #fbfbfb, #fff);
10121012
}
10131013

1014+
#archives li>div {
1015+
white-space: nowrap;
1016+
overflow: hidden;
1017+
text-overflow: ellipsis;
1018+
}
1019+
10141020
#archives span.lead {
10151021
font-size: 1.5rem;
10161022
font-family: 'Oswald', sans-serif;
@@ -1257,12 +1263,6 @@ div.tooltip-inner { /* Overrided BS4 Tooltip */
12571263
letter-spacing: 0;
12581264
}
12591265

1260-
#archives li>div {
1261-
white-space: nowrap;
1262-
overflow: hidden;
1263-
text-overflow: ellipsis;
1264-
}
1265-
12661266
#page-tag ul>li>a,
12671267
#page-category ul>li>a {
12681268
white-space: nowrap;

0 commit comments

Comments
 (0)