remove scrollbar at full height

This commit is contained in:
Tyler Shipe 2021-12-14 16:57:58 -05:00
parent a49beb02ac
commit ae58aa5712
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
export const PageBodyWrapper = ({ children, className, ...props }) => (
<div className={`${className} min-h-screen`} {...props}>
<div className={`${className} h-full`} {...props}>
{children}
</div>
)

View File

@ -40,7 +40,7 @@ const Index = () => {
}, [])
return (
<div className={`bg-th-bkg-1 text-th-fgd-1 transition-all `}>
<div className={`bg-th-bkg-1 text-th-fgd-1 transition-all min-h-screen`}>
<TopBar />
<MarketSelect />
<PageBodyWrapper className="p-1 sm:px-2 sm:py-1 md:px-2 md:py-1">

View File

@ -95,7 +95,7 @@ const PerpMarket = () => {
}, [router, marketConfig])
return (
<div className={`bg-th-bkg-1 text-th-fgd-1 transition-all `}>
<div className={`bg-th-bkg-1 text-th-fgd-1 transition-all min-h-screen`}>
{showTour && !hideTips ? <IntroTips connected={connected} /> : null}
<TopBar />
<MarketSelect />