소스 검색

chore: enhance ListWrapper and PluginPage components with stable scro… (#16048)

tags/1.1.0
Kalo Chin 7 달 전
부모
커밋
939dcb4c0a
No account linked to committer's email address
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 3
    1
      web/app/components/plugins/marketplace/list/list-wrapper.tsx
  2. 1
    0
      web/app/components/plugins/plugin-page/index.tsx

+ 3
- 1
web/app/components/plugins/marketplace/list/list-wrapper.tsx 파일 보기

@@ -37,7 +37,9 @@ const ListWrapper = ({
}, [handleQueryPlugins, marketplaceCollections, marketplaceCollectionsFromClient, isSuccessCollections])

return (
<div className='relative flex flex-col grow px-12 py-2 bg-background-default-subtle'>
<div
style={{ scrollbarGutter: 'stable' }}
className='relative flex flex-col grow px-12 py-2 bg-background-default-subtle'>
{
plugins && (
<div className='flex items-center mb-4 pt-3'>

+ 1
- 0
web/app/components/plugins/plugin-page/index.tsx 파일 보기

@@ -145,6 +145,7 @@ const PluginPage = ({
<div
id='marketplace-container'
ref={containerRef}
style={{ scrollbarGutter: 'stable' }}
className={cn('grow relative flex flex-col overflow-y-auto border-t border-divider-subtle', activeTab === 'plugins'
? 'rounded-t-xl bg-components-panel-bg'
: 'bg-background-body',

Loading…
취소
저장