Skip to content

Commit

Permalink
Replace overflow-y-scroll with overflow-y-auto (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
siegfried authored Apr 5, 2022
1 parent d9da073 commit 675a634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const SecondaryBar: NextPage = () => {
const treasuries = useLiveQuery(async () => db.treasuries.toArray())

return (
<aside className='flex flex-col w-60 bg-sky-800 items-center text-white overflow-y-scroll'>
<aside className='flex flex-col w-60 bg-sky-800 items-center text-white overflow-y-auto'>
<div className='w-full bg-sky-900 font-semibold'>
<NavLink
href='/treasuries/new'
Expand All @@ -138,7 +138,7 @@ const Layout: NextPage = ({ children }) => {
<div className='flex h-screen'>
<PrimaryBar />
<SecondaryBar />
<div className='w-full bg-sky-100 overflow-y-scroll'>
<div className='w-full bg-sky-100 overflow-y-auto'>
{!config.isMainnet && <div className='p-1 bg-red-900 text-white text-center'>You are using testnet</div>}
<div className='flex flex-row-reverse'>
<NotificationCenter className='fixed space-y-2 w-1/5' />
Expand Down

0 comments on commit 675a634

Please sign in to comment.