Procházet zdrojové kódy

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

tags/1.1.0
Kalo Chin před 7 měsíci
rodič
revize
939dcb4c0a
Žádný účet není propojen s e-mailovou adresou tvůrce revize

+ 3
- 1
web/app/components/plugins/marketplace/list/list-wrapper.tsx Zobrazit soubor

}, [handleQueryPlugins, marketplaceCollections, marketplaceCollectionsFromClient, isSuccessCollections]) }, [handleQueryPlugins, marketplaceCollections, marketplaceCollectionsFromClient, isSuccessCollections])


return ( 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 && ( plugins && (
<div className='flex items-center mb-4 pt-3'> <div className='flex items-center mb-4 pt-3'>

+ 1
- 0
web/app/components/plugins/plugin-page/index.tsx Zobrazit soubor

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

Načítá se…
Zrušit
Uložit