Add showType prop and remove ScrollShadow usage

Added an optional showType prop to NetworkDisplayCardProps in common_card.tsx. Removed the ScrollShadow component and replaced it with a standard div in nav_list.tsx to simplify the layout.
This commit is contained in:
手瓜一十雪 committed 2025-12-22 12:32:48 +08:00
1 parent a84d5d3976
commit 69437866f1
2 files changed
+3 -3

No files matched your search

@@ -26,6 +26,7 @@ export interface NetworkDisplayCardProps<T extends keyof NetworkType> {
onEnable: () => Promise<void>;
onDelete: () => Promise<void>;
onEnableDebug: () => Promise<void>;
showType?: boolean;
}
const NetworkDisplayCard = <T extends keyof NetworkType> ({