aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-22 18:57:58 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-22 18:57:58 +0200
commit8058c059d7581a908169d325f38aa5226f472f18 (patch)
tree5a31e0a75be7d128cf8a7d78065a2955ecb39141
parent5c0bab836add987c1c8e55a0e5e424ae6bf11f81 (diff)
CSS line-height bug with sup in dates
https://github.com/FreshRSS/FreshRSS/issues/534#issuecomment-255519269 https://www.cs.tut.fi/~jkorpela/www/linespacing.html
-rw-r--r--p/themes/base-theme/template.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css
index 5b3389129..cc36c3ffa 100644
--- a/p/themes/base-theme/template.css
+++ b/p/themes/base-theme/template.css
@@ -44,6 +44,12 @@ p {
margin: 1em 0 0.5em;
font-size: 1em;
}
+sup {
+ line-height: 25px;
+ position: relative;
+ top: -0.8em;
+ vertical-align: baseline;
+}
/*=== Images */
img {