fix: restore missing CSS styles

This commit is contained in:
2026-07-04 21:31:37 +08:00
parent a23066e1f6
commit 1b7b3fd5e8
3 changed files with 70 additions and 1 deletions
+26
View File
@@ -0,0 +1,26 @@
/* src/styles/global.css */
@import './variables.css';
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body, #app {
height: 100%;
width: 100%;
overflow: hidden;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }