summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-22 19:41:01 +0200
committerGravatar GitHub <noreply@github.com> 2016-10-22 19:41:01 +0200
commita93bc5e3211cceb843087a0ed1d1df29369d9bd6 (patch)
treeb06b46256b5b7459116a6be7b159d1cc0d1cb4fd
parent5c0bab836add987c1c8e55a0e5e424ae6bf11f81 (diff)
parentf260bfc251ace92fdd36b833740ec5c1f43b617b (diff)
Merge pull request #1340 from Alkarex/css-dansing
CSS line-height bug with sup in dates
-rw-r--r--CHANGELOG.md1
-rw-r--r--p/themes/base-theme/template.css6
2 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 84db24290..08e99d641 100644
--- a/CHANGELOG.md
+++ b/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)
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 {