diff --git a/src/assets/styles.css b/src/assets/styles.css index f7aed2c..d4594d4 100644 --- a/src/assets/styles.css +++ b/src/assets/styles.css @@ -1,6 +1,7 @@ @import './fonts/font.css'; .scrollbar { + overflow: auto; /* 整个滚动条 */ &::-webkit-scrollbar { width: 3px; diff --git a/src/main.tsx b/src/main.tsx index b1f2707..e08a05f 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,6 +1,5 @@ import { createRoot } from 'react-dom/client'; import { App } from './App.tsx'; -// import './tailwind.css'; import './globals.css'; import './index.css'; import './assets/styles.css'; diff --git a/src/pages/app/edit/List.tsx b/src/pages/app/edit/List.tsx index 2ed8562..f7854cf 100644 --- a/src/pages/app/edit/List.tsx +++ b/src/pages/app/edit/List.tsx @@ -135,7 +135,7 @@ export const List = () => { const hasDescription = !!item.description; const content = marked.parse(item.description); return ( -
+
{}}> {item.title}
@@ -145,7 +145,7 @@ export const List = () => {
domain: {item.domain}
version: {item.version}
-
+
diff --git a/src/pages/file/edit/List.tsx b/src/pages/file/edit/List.tsx index b45ad3d..4cfebad 100644 --- a/src/pages/file/edit/List.tsx +++ b/src/pages/file/edit/List.tsx @@ -28,7 +28,7 @@ export const CardPath = ({ children }: any) => { userAppStore.getList(); }; return ( -
+
@@ -88,7 +88,7 @@ export const List = () => { showPrefix = showPrefix.replace('/', ''); return (
{ onDirectoryClick(item.prefix); @@ -104,7 +104,7 @@ export const List = () => { const size = prettyBytes(item.size); return (
{ userAppStore.getFile(item.name); diff --git a/src/tailwind.css b/src/tailwind.css deleted file mode 100644 index b5c61c9..0000000 --- a/src/tailwind.css +++ /dev/null @@ -1,3 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities;