fix: mobile dropdowns, katex overflow

This commit is contained in:
enscribe 2024-09-13 19:35:10 -07:00
parent 0efd0d992d
commit 32fd23e2cf
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
3 changed files with 6 additions and 3 deletions

View file

@ -40,7 +40,7 @@ const MobileMenu = () => {
<span className="sr-only">Toggle menu</span>
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align="end" className="mr-4 bg-background">
<DropdownMenuContent align="end" className="bg-background">
{NAV_LINKS.map((item) => (
<DropdownMenuItem key={item.href} asChild>
<a

View file

@ -51,7 +51,7 @@ export function ModeToggle() {
<span className="sr-only">Toggle theme</span>
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align="end" className="mr-4 bg-background">
<DropdownMenuContent align="end" className="bg-background">
<DropdownMenuItem onClick={() => setThemeState('theme-light')}>
<Sun className="mr-2 size-4" />
<span>Light</span>