aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-09-17 22:22:14 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-09-17 22:22:14 +0200
commit0ef1fd6e4dd55f3626bae585b04b82ad194b8c63 (patch)
tree4f825496b5a0221d4f565287be1015a7b627646c
parentde5c0bc00962175198aeefabefa514415a448d61 (diff)
Style: reduce white space of line breaks in articles
Makes articles a bit more compact. Plus a generic filter for multiple lines breaks, useful for instance in LeMonde.fr, which uses <br /><br /><br /> https://github.com/marienfressinaud/FreshRSS/issues/618
-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 f05ddff4e..2a9deb0ea 100644
--- a/p/themes/base-theme/template.css
+++ b/p/themes/base-theme/template.css
@@ -458,6 +458,12 @@ a.btn {
.content pre {
overflow: auto;
}
+br {
+ line-height: 1em;
+}
+br + br + br {
+ display: none;
+}
/*=== Notification and actualize notification */
.notification {