Skip to content

Align rendering of links #21347

Closed
Closed

Description

re #21021

See attached screen shot. Initially I thought links don't work because they get the underline only on hover while the editor is more eager to render links. We should align them, obviously I am used the editor style but open for anything...

screen shot 2017-02-24 at 12 25 14

Activity

  1. Tyriar commented on Feb 24, 2017

    @Tyriar
    Contributor

    I'm not so sure aligning is the best thing here. This is why I didn't make terminal links always on:

    • gnome-terminal shows the under line on hover
    • There is not as much line-height to play with in the terminal, unlike the editor the terminal uses native web selection which you cannot change the height of outside of changing the font-size.
    • Terminal links are rendered 200ms later for performance reasons. Evaluating the links is resource intensive and adding links causes a layout. This aspect is completely hidden when the links show on hover.
    • Adding text decoration underline makes the text harder to read, using a border would as well due to less line-height.
  2. alexdima commented on Feb 27, 2017

    @alexdima
    Member

    I am ok with having them rendered differently.

    It is also my understanding that the terminal is much more permissive with links (i.e. for file paths) and that would result in a lot of underlines in potentially unwanted places.

  3. Tyriar commented on Feb 27, 2017

    @Tyriar
    Contributor

    RE permissive links: This is a temporary situation which will be improved in #21226

  4. Tyriar commented on Apr 21, 2017

    @Tyriar
    Contributor

    They're now rendered the same as symbols in the editor.

  5. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions