Skip to content

Commit ff32acc

Browse files
authored
Fix
It should work for phone now
1 parent f3ae502 commit ff32acc

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

css/style.css

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,27 @@
4747
}
4848

4949
/* === BASE === */
50+
html, body {
51+
height: 100%;
52+
margin: 0;
53+
padding: 0;
54+
overflow: hidden; /* Keep overflow hidden here */
55+
}
56+
5057
body {
51-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
52-
background: var(--bg-primary);
53-
color: var(--text-primary);
54-
height: 100vh;
55-
overflow: hidden;
58+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
59+
background: var(--bg-primary);
60+
color: var(--text-primary);
5661
}
5762

5863
/* === LAYOUT === */
5964

6065

6166
/* === SIDEBAR === */
6267
.app-container {
63-
display: flex;
64-
height: 100vh;
65-
position: relative;
68+
display: flex;
69+
height: 100%;
70+
position: relative;
6671
}
6772

6873
.sidebar {
@@ -102,12 +107,13 @@ body {
102107
}
103108

104109
.main-content {
105-
flex: 1;
106-
display: flex;
107-
flex-direction: column;
108-
background: var(--bg-primary);
109-
min-width: 0; /* Prevents flexbox overflow */
110-
position: relative;
110+
flex: 1;
111+
display: flex;
112+
flex-direction: column;
113+
background: var(--bg-primary);
114+
min-width: 0; /* Prevents flexbox overflow */
115+
min-height: 0; /* ADD THIS LINE */
116+
position: relative;
111117
}
112118
.sessions-section {
113119
flex: 1;
@@ -506,7 +512,6 @@ body {
506512
font-weight: bold;
507513
}
508514

509-
/* === CHAT === */
510515
.chat-container {
511516
flex: 1;
512517
display: flex;
@@ -516,7 +521,6 @@ body {
516521
}
517522

518523

519-
520524
.config-row:last-child {
521525
margin-bottom: 0;
522526
}
@@ -1432,4 +1436,4 @@ body {
14321436

14331437
.file-list-popup .uploaded-file-name {
14341438
max-width: 180px;
1435-
}
1439+
}

0 commit comments

Comments
 (0)