From 342a28d6ed1f9485a5504a6c7343f57c665a90a2 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 4 Nov 2019 04:35:13 +0800 Subject: [PATCH] Truncate long title with ellipsis in Archives. Extended from mobile views to desktop views. --- assets/css/_src/main.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/css/_src/main.scss b/assets/css/_src/main.scss index 1ffaef7..fc26cd4 100644 --- a/assets/css/_src/main.scss +++ b/assets/css/_src/main.scss @@ -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;