aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicksphere.ch>2022-08-06 00:00:00 +0000
committerNicholas Johnson <nick@nicksphere.ch>2022-08-06 00:00:00 +0000
commitc9c74f27b6e58db4c1b6f2cdd5145919857cb507377b11ddd431160f787a3960 (patch)
tree6e4a7b35e475b267ca9f09b0d1c048cfc27e839f5aedbde580802a083009c7a4
parentc855806937ec3078500616e1cd0cb84fc771dc9c9cfaac99454d8ff699d53ca3 (diff)
downloadhugo-theme-journal-c9c74f27b6e58db4c1b6f2cdd5145919857cb507377b11ddd431160f787a3960.tar.gz
hugo-theme-journal-c9c74f27b6e58db4c1b6f2cdd5145919857cb507377b11ddd431160f787a3960.zip
Fix logo overflow
-rw-r--r--TODO.txt1
-rw-r--r--layouts/partials/header.html4
-rw-r--r--static/css/style.css4
3 files changed, 4 insertions, 5 deletions
diff --git a/TODO.txt b/TODO.txt
index e070878..baf050e 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -1,3 +1,2 @@
* make navigation link tap targets bigger on mobile devices
* make journal entry link tap targets bigger on mobile devices
-* fix logo overflow
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 2a23191..d6527e2 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,3 +1,3 @@
<header>
- <pre>{{ $.Site.Params.logo }}</pre>
-</header> \ No newline at end of file
+ <pre id="logo">{{ $.Site.Params.logo }}</pre>
+</header>
diff --git a/static/css/style.css b/static/css/style.css
index aeff51c..614171c 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -64,8 +64,8 @@ body > header {
margin-bottom: 2em;
}
-body > header pre {
- line-height: 1.1em;
+#logo {
+ line-height: normal;
}
body > footer {