Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Removing the unneeded negative margin trick used to position icons. #10002

Closed
wants to merge 3 commits into from

Conversation

RaymondLim
Copy link
Contributor

This fixes issue #9965.

I also fix #9987 in this pull request since it is showing the left edge of the focus ring with the fix for #9965.

.jstree-brackets li > a {
@jstree-icon-text-overlap: 2px;
padding-left: (@jstree-sprite-size - @jstree-icon-backindent - @jstree-icon-text-overlap + 10000px);
margin-left: -10000px;
padding-left: (@jstree-sprite-size - @jstree-icon-backindent - @jstree-icon-text-overlap);
Copy link
Member

Choose a reason for hiding this comment

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

This looks good as a fix/workaround for #9965.

@RaymondLim
Copy link
Contributor Author

@peterflynn Ok, I backed out the code that removes the focus ring. Ready for review.

@RaymondLim
Copy link
Contributor Author

Closing in favor of a new pull request #10011.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CEF 2171] Expanding a folder will show blue focus ring above and below the expanded folder.
2 participants