fix: hide buttons in desktop
This commit is contained in:
parent
349381f7a2
commit
4e75d7eea5
|
@ -50,7 +50,8 @@ const TaskPage = ({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="flex md:hidden items-center justify-center gap-4 fixed md:static w-screen bottom-0 left-0 z-50 px-4 py-3 bg-background border-t">
|
<div className="md:hidden">
|
||||||
|
<div className="flex items-center justify-center gap-4 fixed w-screen bottom-0 left-0 z-50 px-4 py-3 bg-background border-t">
|
||||||
<Button
|
<Button
|
||||||
variant={activeMobileView === "tutorial" ? "default" : "outline"}
|
variant={activeMobileView === "tutorial" ? "default" : "outline"}
|
||||||
onClick={() => setActiveMobileView("tutorial")}
|
onClick={() => setActiveMobileView("tutorial")}
|
||||||
|
@ -70,6 +71,7 @@ const TaskPage = ({
|
||||||
Output
|
Output
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div className="md:hidden w-full h-full">
|
<div className="md:hidden w-full h-full">
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
|
|
Loading…
Reference in New Issue