Skip to content
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

Higher z-index for the mention plugin suggestions #604

Merged
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,16 @@ const serializeEditorState = flow( [
] );

/**
* Needed to avoid styling issues on the settings pages iwth the suggestions dropdown,
* because the button labels have a z-index of 3.
* Needed to avoid styling issues on the settings pages with the
* suggestions dropdown, because the button labels have a z-index of 3.
* Added an extra 1000 because with a lot of replacement variables it should
* stay on top of the #wp-content-editor-tools element, which has a z-index
* of 1000.
*
*/
const ZIndexOverride = styled.div`
div {
z-index: 5;
z-index: 1005;
}
`;

Expand Down