Description
We have a submenu with alternate MenusegmentTitle and ScrollableBlock inside it.
On big screens, both the ScrollableBlock background and the MenusegmentTitle background are grey.
On small screens, we use MenuFullScreen, As a result, the ScrollableBlock background is grey, but the MenusegmentTitle background is black.
- We expect that both the
ScrollableBlock background and the MenusegmentTitle background are black.
- We expect that
ScrollableBlock shrinks when there are no search results/few search results.
Suggested solution
Updating the ScrollableBlock styling logic when it's used in MenusegmentTitle.
Maybe adding max-height or something to ScrollableBlock so that it could shrink.
Demo URL
https://stackblitz.com/edit/parsium-carbon-starter-d5zkn5nf?file=src%2FApp.tsx
Alternatives
No response
Additional context
No response
Confidentiality
Description
We have a submenu with alternate
MenusegmentTitleandScrollableBlockinside it.On big screens, both the
ScrollableBlockbackground and theMenusegmentTitlebackground are grey.On small screens, we use
MenuFullScreen, As a result, theScrollableBlockbackground is grey, but theMenusegmentTitlebackground is black.ScrollableBlockbackground and theMenusegmentTitlebackground are black.ScrollableBlockshrinks when there are no search results/few search results.Suggested solution
Updating the
ScrollableBlockstyling logic when it's used inMenusegmentTitle.Maybe adding max-height or something to
ScrollableBlockso that it could shrink.Demo URL
https://stackblitz.com/edit/parsium-carbon-starter-d5zkn5nf?file=src%2FApp.tsx
Alternatives
No response
Additional context
No response
Confidentiality