Skip to content

Commit 21fc41c

Browse files
committed
tweak position
1 parent 446ae4e commit 21fc41c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/layouts/SidebarLayout.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ module Sidebar = {
176176
id="sidebar"
177177
className={(
178178
isOpen ? "fixed w-full left-0 h-full z-20 min-w-320" : "hidden "
179-
) ++ " md:block md:w-48 md:-ml-4 lg:w-1/5 h-auto md:relative overflow-y-visible pt-2 bg-white md:mt-0 min-w-48"}
179+
) ++ " md:block md:w-48 lg:w-1/5 h-auto md:relative overflow-y-visible pl-4 md:pl-0 pt-2 bg-white md:mt-0 min-w-48"}
180180
>
181181
<aside
182182
id="sidebar-content"
@@ -368,7 +368,7 @@ let make = (
368368
}
369369
<>
370370
<div
371-
className={"mt-16 min-w-320 grid max-w-1280 md:mt-32 grid-cols-[auto_minmax(0px,1fr)] justify-items-center md:mx-10 md:px-4 lg:px-24 " ++
371+
className={"mt-16 min-w-320 grid max-w-1280 md:mt-32 grid-cols-[auto_minmax(0px,1fr)] pr-4 lg:pr-24 m-auto " ++
372372
theme}
373373
>
374374
sidebar

0 commit comments

Comments
 (0)