summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordsrkafuu2022-12-23 09:38:59 +0800
committerdsrkafuu2022-12-23 09:38:59 +0800
commitf42f0ee0ead184c647c0cb36197ccdef02789d2d (patch)
treef81703da9537c8e3546c6155f9eb8f35949a9435
parent92fe789b68bd80708923954ae64408234b141d1b (diff)
parent7be528cdb5b6117e2bff95bea1885327e02acb5a (diff)
downloadhugo-theme-fuji-f42f0ee0ead184c647c0cb36197ccdef02789d2d.tar.gz
hugo-theme-fuji-f42f0ee0ead184c647c0cb36197ccdef02789d2d.tar.bz2
hugo-theme-fuji-f42f0ee0ead184c647c0cb36197ccdef02789d2d.zip
Merge branch 'Saftius-mobile-optimizations'
-rw-r--r--assets/scss/_fuji-style/_content.scss1
-rw-r--r--assets/scss/_fuji-style/_header.scss2
-rw-r--r--exampleSite/content/post/post-meta-test.md9
3 files changed, 11 insertions, 1 deletions
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) {
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
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.