Skip to content

Commit 32fa408

Browse files
committed
Update Layout
1 parent ffbd2d1 commit 32fa408

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/components/Layout/index.jsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ const Layout = ({ children }) => {
1515
<div className="flex">
1616
<Sidebar showSidebar={showSidebar} setShowSidebar={setShowSidebar} />
1717
<div className="w-[100%] px-4 mt-[80px] md:px-0 overflow-x-hidden md:w-[1350px] layout md:pr-[300px] md:mt-[100px] md:mx-auto pb-10">
18-
<div className="flex justify-end md:mb-[-60px]" >
19-
{router.pathname !== "/404" &&
20-
router.pathname !== "/" &&
21-
router.pathname !== "/tv" && <PageActionButtons />}
22-
</div>
18+
{router.pathname !== "/404" &&
19+
router.pathname !== "/" &&
20+
router.pathname !== "/tv" && (
21+
<div className="flex justify-end md:mb-[-60px]">
22+
<PageActionButtons />
23+
</div>
24+
)}
2325
{children}
2426
</div>
2527
</div>

0 commit comments

Comments
 (0)