Просмотр исходного кода

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
Alexandre Alapetite 9 лет назад
Родитель
Сommit
8058c059d7
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      p/themes/base-theme/template.css

+ 6 - 0
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 {