File tree Expand file tree Collapse file tree
src/views/webview/styleFragments Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ export const responsiveStyles = `
2+ /* Responsive */
3+ @media (max-width: 1200px) {
4+ .main-grid {
5+ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
6+ }
7+ }
8+
9+ @media (max-width: 768px) {
10+ body {
11+ padding: 12px;
12+ }
13+
14+ .header {
15+ padding: 12px;
16+ margin-bottom: 12px;
17+ flex-direction: column;
18+ align-items: flex-start;
19+ }
20+
21+ .stats-grid {
22+ grid-template-columns: repeat(2, 1fr);
23+ gap: 10px;
24+ margin-bottom: 12px;
25+ }
26+
27+ .main-grid {
28+ gap: 10px;
29+ margin-bottom: 12px;
30+ }
31+
32+ .chart-container {
33+ height: 200px;
34+ }
35+ }
36+
37+ @media (max-width: 480px) {
38+ body {
39+ padding: 8px;
40+ }
41+
42+ .header {
43+ padding: 12px;
44+ margin-bottom: 12px;
45+ }
46+
47+ .stats-grid {
48+ grid-template-columns: 1fr;
49+ gap: 10px;
50+ }
51+
52+ .stat-card, .card {
53+ padding: 12px;
54+ }
55+
56+ .chart-container {
57+ height: 180px;
58+ }
59+ }
60+ ` ;
You can’t perform that action at this time.
0 commit comments