Explorar o código

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
Alexandre Alapetite %!s(int64=11) %!d(string=hai) anos
pai
achega
0ef1fd6e4d
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      p/themes/base-theme/template.css

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