Skip to content

Confusing indentation of tree icons on "Sources" tab #455

Description

I find the indentation of the document icons in the tree on the "Sources" tab confusing and I have stumbled over this issue repeatedly even though I spend a considerable amount of time inside the DevTools.

For example in this tree:

Image

The folder "htmlModule" and the file "countdownTimerElement.ts" are both inside the "customElements" folder.
But at a quick glance, it looks like the "countdownTimerElement.ts" file is inside the "htmlModule" folder.

If I look carefully, I can see that the "htmlModule" has the "collapsed" icon, while the "customElements" folder has an "expanded" icon.
But this issue could completely avoided by fixing the indentation:

Image

The situation could further improved by choosing better icons (Why are the folders so much smaller than the files? Why are the file icons orange?), but for a start, I'd be happy if the indentation could be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feedbackFeedback about an existing DevTools feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions