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

Carnation theme: Navigation block lacks padding on mobile #7684

Open
ha-un opened this issue Mar 16, 2024 · 0 comments
Open

Carnation theme: Navigation block lacks padding on mobile #7684

ha-un opened this issue Mar 16, 2024 · 0 comments
Labels
[Feature Group] Appearance & Themes Features related to the appearance of sites. [Pri] Normal Triaged [Type] Bug Something isn't working

Comments

@ha-un
Copy link

ha-un commented Mar 16, 2024

Quick summary

When opening the navigation on mobile, menus have no padding on either sides.

Steps to reproduce

  1. Activate Carnation theme
  2. Add a menu to header
  3. Inspect browser
  4. Open hamburger menu

What you expected to happen

There should be enough padding on the side of the menus.

CleanShot 2024-03-16 at 15 40 21@2x

What actually happened

Menu items stick to the edge of the screen.

CleanShot 2024-03-16 at 15 40 52@2x

Browser

Google Chrome/Chromium

Context

No response

Platform (Simple, Atomic, or both?)

Simple, Atomic

Other notes

No response

Reproducibility

Consistent

Severity

Some (< 50%)

Available workarounds?

Yes, easy to implement

Workaround details

CSS workaround works:

@media screen and (max-width: 600px) {
.wp-block-navigation {
padding-left: 40px !important;
}
}

@ha-un ha-un added [Type] Bug Something isn't working Needs triage [Feature Group] Appearance & Themes Features related to the appearance of sites. labels Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature Group] Appearance & Themes Features related to the appearance of sites. [Pri] Normal Triaged [Type] Bug Something isn't working
Projects
Development

No branches or pull requests

2 participants