mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-18 08:21:34 +08:00
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:
parent
0fa77441f5
commit
8c1caf8555
@ -597,15 +597,17 @@ 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) => (
|
||||||
<ProxyRender
|
<div style={{ paddingRight: 14 }}>
|
||||||
key={renderList[index].key}
|
<ProxyRender
|
||||||
item={renderList[index]}
|
key={renderList[index].key}
|
||||||
indent={mode === "rule" || mode === "script"}
|
item={renderList[index]}
|
||||||
onLocation={handleLocation}
|
indent={mode === "rule" || mode === "script"}
|
||||||
onCheckAll={handleCheckAll}
|
onLocation={handleLocation}
|
||||||
onHeadState={onHeadState}
|
onCheckAll={handleCheckAll}
|
||||||
onChangeProxy={handleChangeProxy}
|
onHeadState={onHeadState}
|
||||||
/>
|
onChangeProxy={handleChangeProxy}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
<ScrollTopButton show={showScrollTop} onClick={scrollToTop} />
|
<ScrollTopButton show={showScrollTop} onClick={scrollToTop} />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user