diff --git a/templates/tag.html b/templates/tag.html
index d2497cc..9652aaf 100644
--- a/templates/tag.html
+++ b/templates/tag.html
@@ -151,7 +151,7 @@
background: rgb(245, 242, 240);
padding: 0.25em 0.3em;
border-radius: 5px;
- display: inline;
+ display: inline-block;
vertical-align: text-bottom;
}
diff --git a/templates/threads.html b/templates/threads.html
index f594fe3..88e3998 100644
--- a/templates/threads.html
+++ b/templates/threads.html
@@ -158,7 +158,7 @@
background: rgb(245, 242, 240);
padding: 0.25em 0.3em;
border-radius: 5px;
- display: inline;
+ display: inline-block;
vertical-align: text-bottom;
}