sapling/mercurial/templates
Anton Shestakov 9643ca35f2 gitweb, monoblue: fix vertical align of spans in .sourcelines
Empty lines in file view could produce an inexplicable margin before the next
line (most noticeable in browsers on webkit/blink engine). That was making
empty lines seem taller than the rest.

Instead of using default vertical align, let's set it to 'top'.

This issue is actually present in paper, and only recently got into gitweb
(0609781075c1) and monoblue (b7a7757577fb). There's a bit more to it in paper,
so that will be dealt with in a future patch.

Recipe to see live: preferably using a webkit/blink browser, such as chromium,
browse a file with empty lines, e.g. https://selenic.com/hg/file/3.5/README#l8
Selecting a block of text that includes empty lines will reveal white "breaks"
in the selection. Highlighted line (#l8) also shows such a break below itself.
2015-09-25 03:02:38 +08:00
..
atom hgweb: apply websub filter to the changeset description in rss and atom feeds 2014-05-17 17:10:23 +08:00
coal coal: reuse style-paper.css and use a separate css file for visual tweaks 2015-09-18 14:03:32 +08:00
gitweb gitweb: port code selection without line numbers from paper 2015-09-22 02:09:10 +08:00
json json: implement {fileannotate} template 2015-04-10 22:37:40 -04:00
monoblue monoblue: port code selection without line numbers from gitweb 2015-09-23 16:02:35 +08:00
paper hgweb: replace .sourcelast with .bottomline that does the same 2015-09-14 18:41:09 +08:00
raw hgweb: replace 'shortlog' with 'changelog' in raw changelog template 2013-08-16 21:41:19 +04:00
rss hgweb: apply websub filter to the changeset description in rss and atom feeds 2014-05-17 17:10:23 +08:00
spartan spartan: don't drop current revision in log/graph links 2015-07-12 01:51:01 +08:00
static gitweb, monoblue: fix vertical align of spans in .sourcelines 2015-09-25 03:02:38 +08:00
map-cmdline.bisect map-cmdline.bisect: rewrite to just %include the default template 2015-05-10 13:48:10 -04:00
map-cmdline.changelog setup: install translation files as package data 2009-12-01 16:06:10 +01:00
map-cmdline.compact compact style: show bookmarks in the same manner as tags 2011-04-13 13:06:35 -05:00
map-cmdline.default templates: add a default template style for status 2015-06-10 14:35:05 -05:00
map-cmdline.phases template-phases: extend default style instead of duplicating it 2015-04-25 21:42:07 +09:00
map-cmdline.status templates: fix missing closing brace in map-cmdline.status 2015-06-18 23:08:27 +09:00
map-cmdline.xml templater: add new docheader/footer components for XML (issue4135) 2015-08-26 16:27:14 -05:00