about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-04-18 21:42:23 +0200
committerAlan Pearce2024-04-18 21:42:23 +0200
commiteb51778065f61a2fe5e15c3f0cdba0e3b306731a (patch)
treed2a46e8933720c29c51a518fb94b337d0a8a237d
parentf20b2c91f779d6b825ee94cb133ea19bf5db5c66 (diff)
downloadwebsite-eb51778065f61a2fe5e15c3f0cdba0e3b306731a.tar.lz
website-eb51778065f61a2fe5e15c3f0cdba0e3b306731a.tar.zst
website-eb51778065f61a2fe5e15c3f0cdba0e3b306731a.zip
fix post tags validation error
-rw-r--r--templates/post.html8
-rw-r--r--templates/style.css6
2 files changed, 10 insertions, 4 deletions
diff --git a/templates/post.html b/templates/post.html
index 624679f..d93b766 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -59,10 +59,12 @@ foo=bar
             </tbody>
           </table>
         </div>
-        <ul class="p-categories tags">
+        <div class="tags">
           Tags:
-          <li><a class="p-category" href="/tags/sample/">#sample</a></li>
-        </ul>
+          <ul class="p-categories tags">
+            <li><a class="p-category" href="/tags/sample/">#sample</a></li>
+          </ul>
+        </div>
       </article>
     </main>
     <footer>
diff --git a/templates/style.css b/templates/style.css
index 5c55ef4..8d21237 100644
--- a/templates/style.css
+++ b/templates/style.css
@@ -58,7 +58,11 @@ nav a {
   font-size: small;
 }
 
-.tags > li {
+.tags ul {
+  display: inline-block;
+}
+
+.tags li {
   list-style: none;
   display: inline-block;
   padding-right: 1ex;