horizontal menu disappears if window is resized

Post Reply
ritonglue
Posts: 11
Joined: 04 Jun 2021, 16:52

02 May 2022, 15:34

If you start with a full screen window with horizontal menu and then you resize the window, the horizontal menu disappears. This is a nuisance if you put some logo in the top as the background color disappears. Moreover, the buttons to the left of the user "Madison Hugues" disappears.

If the window is resized, you can't switch the menu type.

PS : the bug doesn't appear with Microsoft Edge.

mert.sincan
Posts: 5074
Joined: 29 Jun 2013, 12:38

04 May 2022, 14:06

Hi,

This is by design. For your issue, you can remove all codes in _mobile.scss under src/main/webapp/resources/sass/layout and remove @media (min-width: $mobileBreakpoint + 1) wrapper in _desktop.scss.
OR set $mobileBreakpoint: 0px

Then, please provide new layout css files using sass command.

Best Regards,

ritonglue
Posts: 11
Joined: 04 Jun 2021, 16:52

06 May 2022, 12:17

I see.

Still, the two buttons at the left of "Madison Hugues" disappears. Can you fix that ?

It's a pity that the top menu loses it's background color but I mentionned this in another post.

Thanks

mert.sincan
Posts: 5074
Joined: 29 Jun 2013, 12:38

06 May 2022, 20:28

Please remove all codes in _mobile.scss. It has to be an empty file for your case. Then, please provide new css files using sass command.

Best Regards,

Post Reply

Return to “Manhattan - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests