From a51d31c55a37fbe034f0b0f699f4df0b6a14ba8f Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Fri, 19 May 2023 01:50:45 +0800 Subject: [PATCH] fix(typography): long string for update-list is not truncated (#1050) Resolves #1049 --- _includes/update-list.html | 8 +++----- _sass/addon/commons.scss | 10 ---------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/_includes/update-list.html b/_includes/update-list.html index 8d6e4b6..0ab7a45 100644 --- a/_includes/update-list.html +++ b/_includes/update-list.html @@ -1,6 +1,4 @@ -{% comment %} - Get the last 5 posts from lastmod list. -{% endcomment %} + {% assign MAX_SIZE = 5 %} @@ -26,12 +24,12 @@ {% if update_list.size > 0 %}
{{- site.data.locales[include.lang].panel.lastmod -}}
-