Skip to content

Update SidebarLayout.js #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update SidebarLayout.js
  • Loading branch information
uiuxarghya committed Dec 6, 2021
commit 21617271fda3d47e25f8de074e3bc2d3305c1ed1
5 changes: 2 additions & 3 deletions src/layouts/SidebarLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function Nav({ nav, children, fallbackHref }) {
<nav
id="nav"
ref={scrollRef}
className="px-1 pt-6 overflow-y-auto font-medium text-base sm:px-3 xl:px-5 lg:text-sm pb-10 lg:pt-10 lg:pb-14 sticky?lg:h-(screen-18)"
className="px-1 pt-6 overflow-y-auto font-medium text-base sm:px-3 xl:px-5 lg:text-sm pb-10 lg:pt-6 lg:pb-14 sticky?lg:h-(screen-18)"
>
<div className="relative flex mb-8 px-3 lg:hidden">
<Logo className="w-auto h-10" />
Expand Down Expand Up @@ -241,7 +241,7 @@ function TopLevelNav() {
</>
}
>
News
Practice
</TopLevelLink>
<TopLevelLink
href="/brand"
Expand Down Expand Up @@ -286,7 +286,6 @@ export function SidebarLayout({ children, navIsOpen, setNavIsOpen, nav, sidebar,
onClick={(e) => e.stopPropagation()}
className="h-full overflow-y-auto scrolling-touch lg:h-auto lg:block lg:relative lg:sticky lg:bg-transparent overflow-hidden lg:top-18 bg-white mr-24 lg:mr-0"
>
<div className="hidden lg:block h-12 pointer-events-none absolute inset-x-0 z-10 bg-gradient-to-b from-white" />
<Nav nav={nav} fallbackHref={fallbackHref}>
{sidebar}
</Nav>
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy