Enhancement request : ui-blob: Make the target line of a link, visually identifiable.
Loïc
lagiraudiere+cgit at free.fr
Sat Feb 3 17:20:47 UTC 2024
Hi all,
When I create a reference to a precise line in a file (for instance a
hyperlink to "https://git.zx2c4.com/cgit/tree/cgit.css#n321" ), I miss a
visual feedback, on the line I want to highlight.
To implement this feature, I suggest to add a curved arrow ahead of the
line number.
That could be done by adding the following stylesheet to cgit.css
div#cgit table.blob td.linenumbers a:target:before {color:
red;content: "\2BA9";}
(patch attached)
Thank you for your attention
Regards
Loïc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-curved-arrow-ahead-of-the-line-number.patch
Type: text/x-patch
Size: 855 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20240203/d8c688d3/attachment.bin>
More information about the CGit
mailing list