Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion styles/git-blame.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

@git-blame-bg-color: @base-background-color;

atom-text-editor::shadow .git-blame-mount,
atom-text-editor .git-blame-mount {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

based on the automatic upgrade rule, it should probably just be changed to atom-text-editor.editor .git-blame-mount, instead of deleted

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only reverence I can find related to removing shadow dom is http://flight-manual.atom.io/shadow-dom/sections/removing-shadow-dom-styles/#shadow

By that section there is no recommendation to add .editor. The line that is removed is comes before the current correct line.

If you have an additional reference I will be glad to take a look at that.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original issue shows the automatic translation that atom will do. It's a little hard to see in the way it was reported, but they have the original shadow form of the selector followed by => and then the automatically transpiled version. Per the docs you are correct, though they do reference it down here: http://flight-manual.atom.io/shadow-dom/sections/removing-shadow-dom-styles/#i-followed-the-guide-but-now-my-styling-is-broken

It is a bit unclear which is preferred, but since it was automatically adding the .editor before it is fully deprecated, I think it would be good to keep that as an option for ensuring specificity is high (though I doubt that there would be a conflict with .git-blame-mount)

position: relative;

Expand Down