Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix disappearing dismiss button on extension help #2801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
code-asher merged 2 commits into master from disappearing-dismiss
Mar 2, 2021

Conversation

Copy link
Member

@code-asher code-asher commented Mar 1, 2021

No description provided.

The theme callback would set innerHTML on the header which wipes out the
dismiss button. With an inner div we can replace the inner HTML without
worrying about other elements in the header.
Closes #2799.
This makes it accessible via keyboard.
@code-asher code-asher requested a review from a team as a code owner March 1, 2021 19:41
Copy link
Contributor

@jsjoeio jsjoeio left a comment

Choose a reason for hiding this comment

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

LGTM! 🎉

dismiss.style.display = 'block';
dismiss.style.textAlign = 'right';
dismiss.style.cursor = 'pointer';
dismiss.tabIndex = 0;
Copy link
Contributor

@jsjoeio jsjoeio Mar 1, 2021

Choose a reason for hiding this comment

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

Good call!

code-asher reacted with heart emoji
@jsjoeio jsjoeio added this to the v3.9.1 milestone Mar 1, 2021
@greyscaled greyscaled linked an issue Mar 2, 2021 that may be closed by this pull request
@code-asher code-asher merged commit 3e081ea into master Mar 2, 2021
@code-asher code-asher deleted the disappearing-dismiss branch March 2, 2021 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
1 more reviewer

@jsjoeio jsjoeio jsjoeio approved these changes

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v3.9.1
Development

Successfully merging this pull request may close these issues.

Extension help dismiss button disappears

AltStyle によって変換されたページ (->オリジナル) /