Skip to content

Commit

Permalink
Merge pull request #84 from FlowTestAI/fix-scroll
Browse files Browse the repository at this point in the history
fix auto scroll for x86 arch
  • Loading branch information
jsajal committed Apr 22, 2024
2 parents 2be6588 + 0f04a00 commit 36677dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/molecules/sidebar/content/Collections.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const Collections = ({ collections }) => {

return (
<div
className='h-[87vh] flex-auto overflow-scroll'
className='h-[87vh] flex-auto overflow-auto'
onClick={(event) => {
const clickFromElementDataSet = event.target.dataset;
const clickFrom = clickFromElementDataSet?.clickFrom;
Expand Down
2 changes: 1 addition & 1 deletion src/components/molecules/sidebar/content/Environments.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Environments = ({ collections }) => {

return (
<div
className='h-[87vh] flex-auto overflow-scroll'
className='h-[87vh] flex-auto overflow-auto'
onClick={(event) => {
const clickFromElementDataSet = event.target.dataset;
const clickFrom = clickFromElementDataSet?.clickFrom;
Expand Down
2 changes: 1 addition & 1 deletion src/components/organisms/SideBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Content from 'components/molecules/sidebar/content';
const SideBar = () => {
const collections = useCollectionStore((state) => state.collections);
return (
<div className='flex-auto overflow-scroll'>
<div className='flex-auto overflow-auto'>
<SideBarHeader />
<>{collections.length != 0 ? <Content collections={collections} /> : <Empty />}</>
</div>
Expand Down

0 comments on commit 36677dd

Please sign in to comment.