diff --git a/web/src/App.css b/web/src/App.css index 33441d8106..7aa9973d25 100644 --- a/web/src/App.css +++ b/web/src/App.css @@ -9,17 +9,16 @@ /* 设置滚动条的样式 */ ::-webkit-scrollbar { width: 4px; + height: 6px; } /* 滚动槽 */ ::-webkit-scrollbar-track { - box-shadow: inset006pxrgba(0, 0, 0, 0.3); border-radius: 2px; } /* 滚动条滑块 */ ::-webkit-scrollbar-thumb { border-radius: 4px; background: rgba(0, 0, 0, 0.5); - box-shadow: inset006pxrgba(0, 0, 0, 0.5); } html, diff --git a/web/src/components/Resize/index.tsx b/web/src/components/Resize/index.tsx index 576ae26fbd..9a77e0a240 100644 --- a/web/src/components/Resize/index.tsx +++ b/web/src/components/Resize/index.tsx @@ -44,7 +44,7 @@ export default function Resize(props: { } {...separatorProps} > -
+
{type === "x" && width <= 20 ? (
: }
) : ( -
+ <> +
+
+ )}
diff --git a/web/src/pages/app/database/CollectionDataList/mods/DataPanel/index.tsx b/web/src/pages/app/database/CollectionDataList/mods/DataPanel/index.tsx index fa99b13881..c7c820fe0d 100644 --- a/web/src/pages/app/database/CollectionDataList/mods/DataPanel/index.tsx +++ b/web/src/pages/app/database/CollectionDataList/mods/DataPanel/index.tsx @@ -257,13 +257,12 @@ export default function DataPanel() { showBg tooltip={t("Copy").toString()} size={32} - className="ml-2 hover:bg-rose-100 group/icon" + className="ml-2 hover:bg-gray-200 group/icon" > diff --git a/web/src/pages/app/functions/mods/EditorPanel/index.tsx b/web/src/pages/app/functions/mods/EditorPanel/index.tsx index 7579814054..2bf1a131ae 100644 --- a/web/src/pages/app/functions/mods/EditorPanel/index.tsx +++ b/web/src/pages/app/functions/mods/EditorPanel/index.tsx @@ -24,9 +24,9 @@ function EditorPanel() { const functionListQuery = useFunctionListQuery(); return ( - + {currentFunction?.name ? ( - + {currentFunction?.name} diff --git a/web/src/pages/globalStore.ts b/web/src/pages/globalStore.ts index 5b017dd236..132caceea3 100644 --- a/web/src/pages/globalStore.ts +++ b/web/src/pages/globalStore.ts @@ -141,6 +141,7 @@ const useGlobalStore = create()( position: "top", title: text, status: "success", + variant: "subtle", duration: 1000, containerStyle: { maxWidth: "100%", @@ -154,6 +155,7 @@ const useGlobalStore = create()( position: "top", title: text, status: "error", + variant: "subtle", duration: 1500, containerStyle: { maxWidth: "100%",