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
@@ -32,7 +32,7 @@ export const Header = () => {
<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"
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" />
Материалы
@@ -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"
@@ -30,6 +30,7 @@ const ActionButtons: React.FC<ActionButtonsProps> = ({
{isCleared ? (
<Button
className="font-hse-sans flex-grow"
disabled={true}
>
Задача сдана!
@@ -24,7 +24,7 @@ export const UserStatsSections = () => {
/>
<UserStatBlock
value={stats.total_attempts}
description="Попыток выполнено"
description="Решений отправлено"
/>
</div>
) : (