-
Notifications
You must be signed in to change notification settings - Fork 9.4k
make store switcher style more resistent #26879
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
make store switcher more resistent against moving of layout blocks especially, moving the navigation.section into the header-wrapper
Hi @Flyingmana. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
@magento give me test instance |
Hi @ptylek. Thank you for your request. I'm working on Magento instance for you |
Hi @ptylek, here is your new Magento instance. |
app/design/frontend/Magento/luma/Magento_Theme/web/css/source/_module.less
Show resolved
Hide resolved
Hi @ptylek, thank you for the review. |
@Flyingmana thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Flyingmana
During testing, we faced the issue.
Problem: The switch sign is in the wrong position
Manual testing scenario:
-
have a layout XML which moves the navigation.sectionsinto the
header-wrapper
;<move element="navigation.sections" destination="header-wrapper" after="logo"/>
-
reduce the Website to "mobile size" and check the store switcher in the mobile navigation;
Actual Result:
- Back to the desktop view and click on the switcher button
Actual Result:
❌ The switch sign has incorrect position
@Flyingmana Could you take a look?
Thanks!
Pull Request state was updated. Re-review required.
Hi @Flyingmana, I close this PR due to inactivity. If you want to continue your work, simply reopen this PR. Thanks! |
Hi @Flyingmana, thank you for your contribution! |
@magento give me 2.4-develop instance |
Hi @vasilii-b. Thank you for your request. I'm working on Magento 2.4-develop instance for you |
Hi @vasilii-b, here is your Magento instance. |
make store switcher more resistent against moving of layout blocks
especially, moving the
navigation.sections
into theheader-wrapper
Description (*)
The issue I encountered was related to the duplicated store switcher block for the mobile navigation, which is part of the
navigation.sections
.The styling which is here added for the dropdown of the store switcher for the desktop variant, is currently also applied to the mobile variant when moved into the
header-wrapper
(to have the category navigation on Desktop between logo and other Header Parts)Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
navigation.sections
into the `header-wrapper``Questions or comments
Contribution checklist (*)