]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: Remove useless p:first-line CSS rule
authorAndrea Bolognani <abologna@redhat.com>
Fri, 1 Apr 2016 09:31:11 +0000 (11:31 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 1 Apr 2016 13:43:01 +0000 (15:43 +0200)
According to MDN[1], 'margin-left' and similar CSS properties,
including 'margin-right', cannot be applied to the '::first-line'
pseudo-element, so this rule will never have any effect and can
be safely removed.

[1] https://developer.mozilla.org/en/docs/Web/CSS/::first-line

docs/generic.css

index c0c62158fdfc0aaf29264b88b1ed1940077eb7da..d12441276072530f028afaf4a255736158f17d90 100644 (file)
@@ -7,10 +7,6 @@ body {
   background: #ffffff;
 }
 
-p:first-line {
-  margin-right: 1em;
-}
-
 div.body p:first-letter {
   font-size: 1.2em;
   font-weight: bold;