feat: imporve the layout of proxies page (#5647)

* feat: imporve the layout of proxies page to avoid navigator overlapping items (issue #5556)

* feat(proxy): remove left padding
This commit is contained in:
DengHanjie 2025-11-29 11:08:58 +08:00 committed by GitHub
parent 0fa77441f5
commit 8c1caf8555
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -597,6 +597,7 @@ export const ProxyGroups = (props: Props) => {
initialScrollTop={scrollPositionRef.current[mode]} initialScrollTop={scrollPositionRef.current[mode]}
computeItemKey={(index) => renderList[index].key} computeItemKey={(index) => renderList[index].key}
itemContent={(index) => ( itemContent={(index) => (
<div style={{ paddingRight: 14 }}>
<ProxyRender <ProxyRender
key={renderList[index].key} key={renderList[index].key}
item={renderList[index]} item={renderList[index]}
@ -606,6 +607,7 @@ export const ProxyGroups = (props: Props) => {
onHeadState={onHeadState} onHeadState={onHeadState}
onChangeProxy={handleChangeProxy} onChangeProxy={handleChangeProxy}
/> />
</div>
)} )}
/> />
<ScrollTopButton show={showScrollTop} onClick={scrollToTop} /> <ScrollTopButton show={showScrollTop} onClick={scrollToTop} />