adaptive fixes

This commit is contained in:
rngsurrounded
2025-03-04 03:23:21 +09:00
parent 8376acb300
commit 9e5db3d329
3 changed files with 19 additions and 8 deletions
@@ -30,13 +30,13 @@ export const Header = () => {
</Link>
<div className="flex items-center gap-4">
<a
href="/docs/"
className="text-sm font-medium text-gray-700 hover:text-gray-900 transition-colors flex items-center gap-1"
>
<FileText className="h-4 w-4" />
Материалы
</a>
<a
href="/docs/"
className="hidden md:flex text-sm font-medium text-gray-700 hover:text-gray-900 transition-colors items-center gap-1"
>
<FileText className="h-4 w-4" />
Материалы
</a>
<DropdownMenu>
<DropdownMenuTrigger asChild>
@@ -51,6 +51,16 @@ export const Header = () => {
<Link to="/profile">
<DropdownMenuItem>Аккаунт</DropdownMenuItem>
</Link>
<div className="md:hidden">
<Link to="/docs">
<DropdownMenuItem>
<FileText className="h-4 w-4 mr-2" />
Материалы
</DropdownMenuItem>
</Link>
</div>
<DropdownMenuSeparator />
<DropdownMenuItem
variant="destructive"