-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.css
More file actions
52 lines (46 loc) · 1.75 KB
/
Copy pathindex.css
File metadata and controls
52 lines (46 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
@import "tailwindcss" source(none);
@plugin "@tailwindcss/typography";
/* Scan the Electron renderer components (shared via @ alias) */
@source "../../electron/src/renderer/App.tsx";
@source "../../electron/src/renderer/main.tsx";
@source "../../electron/src/renderer/components/**/*.{ts,tsx,jsx}";
@source "../../electron/src/renderer/contexts/**/*.{ts,tsx,jsx}";
@source "../../electron/src/renderer/hooks/**/*.{ts,tsx,jsx}";
@source "../../electron/src/renderer/pages/**/*.{ts,tsx,jsx}";
@source "../../electron/src/renderer/tabs/**/*.{ts,tsx,jsx}";
@source "../../../packages/ui/src/components/**/*.{ts,tsx,jsx}";
@source "../../../packages/ui/src/lib/**/*.{ts,tsx,jsx}";
/* Scan our own web-specific components */
@source "./components/**/*.{ts,tsx,jsx}";
@source "./adapter/**/*.{ts,tsx}";
@source "./App.tsx";
@source "./main.tsx";
/*
* Import the Electron renderer's full CSS (theme variables, base styles, animations).
* This ensures visual parity with the desktop app.
*
* The import brings in @property declarations, :root themes, and utility styles.
* We re-declare @source above because Tailwind v4 source(none) scoping doesn't
* inherit across @import boundaries.
*/
@import "../../electron/src/renderer/index.css";
/*
* Web UI responsive layout is handled by container queries and isAutoCompact
* in the shared renderer components. No webui-specific CSS overrides needed.
*
* The only webui-specific styles are safe-area insets for mobile browsers.
*/
/* Safe area insets for mobile browsers (notch, home indicator) */
html, body, #root {
overflow: hidden;
max-width: 100%;
}
body {
padding-bottom: env(safe-area-inset-bottom, 0px);
}
/* 120% zoom on mobile viewports for better readability */
@media (max-width: 768px) {
html {
zoom: 1.2;
}
}