From c48ead6b8b9a4f4a544b5a6f40c445e8418cdab9 Mon Sep 17 00:00:00 2001 From: Saftius Date: Tue, 20 Dec 2022 23:53:18 +0100 Subject: Allow subtitle to wrap --- assets/scss/_fuji-style/_header.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/scss/_fuji-style/_header.scss b/assets/scss/_fuji-style/_header.scss index af70929..c962dbd 100644 --- a/assets/scss/_fuji-style/_header.scss +++ b/assets/scss/_fuji-style/_header.scss @@ -13,7 +13,7 @@ header { .title-sub { margin: 0 0.1rem; display: block; - white-space: nowrap; + white-space: normal; &::-webkit-scrollbar { display: none; // WebKit -- cgit v1.2.3 From 52481dc0606c98f2fc19b6ec63ebc28a708c4546 Mon Sep 17 00:00:00 2001 From: Saftius Date: Wed, 21 Dec 2022 00:57:42 +0100 Subject: Allow .post-meta span to wrap --- assets/scss/_fuji-style/_content.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/scss/_fuji-style/_content.scss b/assets/scss/_fuji-style/_content.scss index 4c06c45..1d2bb8c 100644 --- a/assets/scss/_fuji-style/_content.scss +++ b/assets/scss/_fuji-style/_content.scss @@ -26,6 +26,7 @@ span { display: flex; align-items: center; + flex-wrap: wrap; } span:not(:last-child) { -- cgit v1.2.3 From c0c287df040e3fc45370eab8502b76d98e0cc183 Mon Sep 17 00:00:00 2001 From: Saftius Date: Wed, 21 Dec 2022 01:40:04 +0100 Subject: Add test to check whether many tags break responsive design --- exampleSite/content/post/post-meta-test.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 exampleSite/content/post/post-meta-test.md diff --git a/exampleSite/content/post/post-meta-test.md b/exampleSite/content/post/post-meta-test.md new file mode 100644 index 0000000..dce2227 --- /dev/null +++ b/exampleSite/content/post/post-meta-test.md @@ -0,0 +1,9 @@ ++++ +title = "Post-Meta Test with Lots of Tags" +date = "2016-12-21" +description = "Because existing posts don't have enough tags" +tags = ["tags", "css", "cascading stylesheets", "html", "hypertext markup language", "fuji theme tests", "test", "text", "excessive tags"] +showToc = false ++++ + +**The tags should wrap and not make a horizontal scroll bar appear.** Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. -- cgit v1.2.3