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

Add classes to make menu elements tall as parent #547

Merged
merged 2 commits into from
Sep 12, 2023

Conversation

rodriciru
Copy link
Contributor

@rodriciru rodriciru commented Sep 5, 2023

Fixes #546

I made the changes using bootstrap classes.
I don't find any drawbacks. If anyone find something wrong, tell me

Copy link
Contributor

@tblivet tblivet left a comment

Choose a reason for hiding this comment

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

Hello 👋
I think you want to do this modification, because if the logo is higher than the menu, we cannot access the submenu ? Is it right ?
Your modification looks good, but with those, the logo is no longer vertically centered.
So I suggest adding some classes to fix it.

templates/_partials/header.tpl Outdated Show resolved Hide resolved
templates/_partials/header.tpl Outdated Show resolved Hide resolved
Co-authored-by: Blivet Thibault <110676325+tblivet@users.noreply.github.com>
@rodriciru
Copy link
Contributor Author

Thanks tblivet. You were right in your suggestions. Align-items-stretch it's not necessary, because in flex normal it's the same as stretch, but it doesn't matter.
https://developer.mozilla.org/en-US/docs/Web/CSS/align-items#values

@paulnoelcholot
Copy link

Hello @rodriciru,

I tested your PR and it's good for me! 🎉

Thanks!

@nicosomb nicosomb added this to the Beta milestone Sep 12, 2023
@nicosomb nicosomb merged commit 4f112be into PrestaShop:develop Sep 12, 2023
6 checks passed
@rodriciru rodriciru deleted the FixMenuDropdownLargeLogo branch September 12, 2023 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Unusable menu dropdown when store logo is tall
7 participants