Skip to content

Commit b314d9d

Browse files
committed
fix sidebar top margin on desktop
1 parent 89c3801 commit b314d9d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/layouts/SidebarLayout.res

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,9 @@ module Sidebar = {
136136
<>
137137
<div
138138
id="sidebar"
139-
style={{
140-
marginTop: "112px",
141-
}}
142139
className={(
143140
isOpen ? "fixed w-full left-0 h-full z-20 min-w-320" : "hidden "
144-
) ++ " overflow-x-hidden md:block md:w-48 md:-ml-4 lg:w-1/5 md:h-auto md:relative overflow-y-visible bg-white"}>
141+
) ++ " overflow-x-hidden md:block md:w-48 md:-ml-4 lg:w-1/5 md:h-auto md:relative overflow-y-visible bg-white mt-28 md:mt-0"}>
145142
<aside
146143
id="sidebar-content"
147144
className="relative top-0 px-4 w-full block md:top-16 md:pt-4 md:sticky border-r border-gray-20 overflow-y-auto pb-24"

0 commit comments

Comments
 (0)