Procházet zdrojové kódy

Merge pull request #1340 from Alkarex/css-dansing

CSS line-height bug with sup in dates
Alexandre Alapetite před 9 roky
rodič
revize
a93bc5e321
2 změnil soubory, kde provedl 7 přidání a 0 odebrání
  1. 1 0
      CHANGELOG.md
  2. 6 0
      p/themes/base-theme/template.css

+ 1 - 0
CHANGELOG.md

@@ -39,6 +39,7 @@
 * I18n
 	* Fix some messages during installation [#1339](https://github.com/FreshRSS/FreshRSS/pull/1339)
 * UI
+	* Fix CSS line-height bug with <sup> in dates (English, Russian, Turkish) [#1340](https://github.com/FreshRSS/FreshRSS/pull/1340)
 	* Download icon 💾 for podcasts [#1236](https://github.com/FreshRSS/FreshRSS/issues/1236)
 * SimplePie
 	* Fix auto-discovery of RSS feeds in Web pages served as `text/xml` [#1264](https://github.com/FreshRSS/FreshRSS/issues/1264)

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