base.tsx 526 B

123456789101112131415161718
  1. import { styled } from "@mui/material";
  2. import { FlexWrapper } from "../../components/Container";
  3. const NavbarBase = styled(FlexWrapper)<{ isMobile: boolean }>`
  4. min-height: 64px;
  5. position: sticky;
  6. top: 0;
  7. left: 0;
  8. z-index: 10;
  9. border-bottom: 1px solid ${({ theme }) => theme.palette.divider};
  10. background-color: ${({ theme }) => theme.colors.background.base};
  11. margin-bottom: 16px;
  12. padding: 0 24px;
  13. @media (max-width: 720px) {
  14. padding: 0 4px;
  15. }
  16. `;
  17. export default NavbarBase;