From 4e2e90da4c8a03c0bde2baba2e92c12209cdd3ca Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Tue, 15 Aug 2023 12:46:29 +0200 Subject: [PATCH] fix: page translation links overflow (#861) closes https://github.com/CaiJimmy/hugo-theme-stack/issues/788 --- assets/scss/partials/article.scss | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/assets/scss/partials/article.scss b/assets/scss/partials/article.scss index f085ff0..2c3a7af 100644 --- a/assets/scss/partials/article.scss +++ b/assets/scss/partials/article.scss @@ -92,16 +92,15 @@ .article-time, .article-translations { display: flex; - align-items: center; color: var(--card-text-color-tertiary); gap: 15px; - flex-wrap: wrap; svg { vertical-align: middle; width: 20px; height: 20px; stroke-width: 1.33; + flex-shrink: 0; } time, @@ -117,6 +116,16 @@ } } +.article-time { + flex-wrap: wrap; +} + +.article-translations { + & > div { + flex-wrap: wrap; + } +} + .article-category, .article-tags { display: flex;