From 8058c059d7581a908169d325f38aa5226f472f18 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 22 Oct 2016 18:57:58 +0200 Subject: 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 --- p/themes/base-theme/template.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'p/themes/base-theme/template.css') 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 { -- cgit v1.2.3