FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update SidebarLayout.js by arghyaxcodes · Pull Request #58 · javaistic/javaistic · GitHub

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .js  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
5 changes: 2 additions & 3 deletions src/layouts/SidebarLayout.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Back | FazBrowse Home | New Git URL