Skip to content

Add classes to make menu elements tall as parent#547

Merged
nicosomb merged 2 commits intoPrestaShop:developfrom
rodriciru:FixMenuDropdownLargeLogo
Sep 12, 2023
Merged

Add classes to make menu elements tall as parent#547
nicosomb merged 2 commits intoPrestaShop:developfrom
rodriciru:FixMenuDropdownLargeLogo

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.

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
@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

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Unusable menu dropdown when store logo is tall

7 participants