restore mobile menu styles

This commit is contained in:
Ramón Souza 2023-06-07 11:47:00 -03:00
parent 06b7e788c7
commit 60eb653fb8

View File

@ -15,6 +15,30 @@ import {
} from '/imports/ui/stylesheets/styled-components/palette'; } from '/imports/ui/stylesheets/styled-components/palette';
const GlobalStyle = createGlobalStyle` const GlobalStyle = createGlobalStyle`
// BBBMenu
@media ${smallOnly} {
.MuiPopover-root {
top: 0 !important;
}
.MuiPaper-root.MuiMenu-paper.MuiPopover-paper {
top: 0 !important;
left: 0 !important;
bottom: 0 !important;
right: 0 !important;
max-width: none;
}
}
.MuiList-padding {
padding: 0 !important;
}
.MuiPaper-root {
background-color: ${dropdownBg};
border-radius: ${borderRadius};
border: 0;
z-index: 999;
max-width: 22rem;
}
// modal // modal
@keyframes fade-in { @keyframes fade-in {
0% { 0% {