Skip to content

Commit 36677dd

Browse files
authored
Merge pull request #84 from FlowTestAI/fix-scroll
fix auto scroll for x86 arch
2 parents 2be6588 + 0f04a00 commit 36677dd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/molecules/sidebar/content/Collections.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const Collections = ({ collections }) => {
5959

6060
return (
6161
<div
62-
className='h-[87vh] flex-auto overflow-scroll'
62+
className='h-[87vh] flex-auto overflow-auto'
6363
onClick={(event) => {
6464
const clickFromElementDataSet = event.target.dataset;
6565
const clickFrom = clickFromElementDataSet?.clickFrom;

src/components/molecules/sidebar/content/Environments.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const Environments = ({ collections }) => {
1212

1313
return (
1414
<div
15-
className='h-[87vh] flex-auto overflow-scroll'
15+
className='h-[87vh] flex-auto overflow-auto'
1616
onClick={(event) => {
1717
const clickFromElementDataSet = event.target.dataset;
1818
const clickFrom = clickFromElementDataSet?.clickFrom;

src/components/organisms/SideBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Content from 'components/molecules/sidebar/content';
77
const SideBar = () => {
88
const collections = useCollectionStore((state) => state.collections);
99
return (
10-
<div className='flex-auto overflow-scroll'>
10+
<div className='flex-auto overflow-auto'>
1111
<SideBarHeader />
1212
<>{collections.length != 0 ? <Content collections={collections} /> : <Empty />}</>
1313
</div>

0 commit comments

Comments
 (0)