Skip to content

Partial Fixed: Mobile responsiveness of find and replace dialog box #2854

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

Conversation

mrkirthi-24
Copy link

Partial Fixes #2839

Changes:

I have verified that this pull request:

  • has no linting errors (npm run lint)
  • has no test errors (npm run test)
  • is from a uniquely-named feature branch and is up to date with the develop branch.
  • is descriptively named and links to an issue number, i.e. Fixes #123

@@ -79,6 +79,7 @@ pre.CodeMirror-line {
}
// left: 0 !important;
width: #{48 / $base-font-size}rem;
z-index: 0;
Copy link
Collaborator

Choose a reason for hiding this comment

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

We probably don't need an explicit z-index here.

It looks like there's a z-index: 4 on the .CodeMirror-gutter-wrapper div which is coming from the core CodeMirror library. I assume it's there for a reason so let's not mess with it.

Comment on lines 100 to 103
z-index: 5;
}

z-index: 1;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's change the existing z-index: 1 (line 101) to z-index: 5, regardless of breakpoint. Like it's not an issue on larger screens because the dialog doesn't overlap the gutter, but it does seem "right" that it should have a higher z-index.

Comment on lines 144 to 147

@media (max-width: 580px) {
padding: 0.6rem 0rem;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This seems unrelated to the z-index issues. So let's save that for a PR where we fix the layout.

Copy link
Author

Choose a reason for hiding this comment

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

OK, I will raise a new pr for it. Thank you

@lindapaiste
Copy link
Collaborator

I'm sorry but I forgot about this PR! I'm going to close it because the z-index was addressed alongside other issues in #3037

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

Successfully merging this pull request may close these issues.

Find and Replace dialog box is not mobile-responsive
2 participants