Mercurial > hg
diff mercurial/templates/static/style-gitweb.css @ 36232:881596e51fca
gitweb: make span.age CSS selector more specific
This set of CSS properties is only used on /changelog page to make age elements
float to the left and be fixed in size, but span.a is too broad of a selector,
because we don't want to apply these properties to all <span> elements that
have age class.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 15 Feb 2018 21:05:31 +0800 |
parents | 6c2264732dc5 |
children | 8d05938dd063 |
line wrap: on
line diff
--- a/mercurial/templates/static/style-gitweb.css Thu Feb 15 17:30:43 2018 -0500 +++ b/mercurial/templates/static/style-gitweb.css Thu Feb 15 21:05:31 2018 +0800 @@ -29,7 +29,7 @@ div.title_text { padding:6px 0px; border: solid #d9d8d1; border-width:0px 0px 1px; } div.log_body { padding:8px 8px 8px 150px; } .age { white-space:nowrap; } -span.age { position:relative; float:left; width:142px; font-style:italic; } +a.title span.age { position:relative; float:left; width:142px; font-style:italic; } div.log_link { padding:0px 8px; font-size:10px; font-family:sans-serif; font-style:normal;