Browse Source

feat: 🎨

imwald
codytseng 1 year ago
parent
commit
af9b97f60c
  1. 1
      src/layouts/PrimaryPageLayout/index.tsx
  2. 1
      src/layouts/SecondaryPageLayout/index.tsx

1
src/layouts/PrimaryPageLayout/index.tsx

@ -72,6 +72,7 @@ const PrimaryPageLayout = forwardRef(
> >
{titlebar && <PrimaryPageTitlebar>{titlebar}</PrimaryPageTitlebar>} {titlebar && <PrimaryPageTitlebar>{titlebar}</PrimaryPageTitlebar>}
{children} {children}
<div className="h-4" />
</ScrollArea> </ScrollArea>
{displayScrollToTopButton && <ScrollToTopButton scrollAreaRef={scrollAreaRef} />} {displayScrollToTopButton && <ScrollToTopButton scrollAreaRef={scrollAreaRef} />}
</DeepBrowsingProvider> </DeepBrowsingProvider>

1
src/layouts/SecondaryPageLayout/index.tsx

@ -85,6 +85,7 @@ const SecondaryPageLayout = forwardRef(
hideBackButton={hideBackButton} hideBackButton={hideBackButton}
/> />
{children} {children}
<div className="h-4" />
</ScrollArea> </ScrollArea>
{displayScrollToTopButton && <ScrollToTopButton scrollAreaRef={scrollAreaRef} />} {displayScrollToTopButton && <ScrollToTopButton scrollAreaRef={scrollAreaRef} />}
</DeepBrowsingProvider> </DeepBrowsingProvider>

Loading…
Cancel
Save