On Sun, 08 Apr 2018 23:14:01 +0800, Anton Shestakov wrote:
> # HG changeset patch
> # User Anton Shestakov <a...@dwimlabs.net>
> # Date 1523191987 -28800
> #      Sun Apr 08 20:53:07 2018 +0800
> # Node ID 41826e0ae22d24a04cc1f4b911a56b787635fa6e
> # Parent  0a1fb171dc1ddd6a1cd1a5666e92299db12e9f5d
> hgweb: make followlines button absolutely positioned
> It used to have position: absolute only on annotate page, but it makes sense 
> to
> have it everywhere, because the button shouldn't affect other elements at all.
> Especially since the button has a set height, which meant that for certain
> smaller fonts source lines were changing their height on hover.
> Note that the button doesn't set any of the usual properties that accompany
> absolute position (top, right, bottom or left). These properties would 
> position
> the button without any account for source line padding. Instead, margins are
> used (the button already has all margins defined, they do the job).

In file view, it appears that the button is placed relative to the line ending
because the button is inserted *after* the line text.
Mercurial-devel mailing list

Reply via email to