File tree Expand file tree Collapse file tree 1 file changed +104
-1
lines changed
Expand file tree Collapse file tree 1 file changed +104
-1
lines changed Original file line number Diff line number Diff line change 1717 font-family : 'Share Tech Mono' , monospace;
1818 background : # 000 ;
1919 color : # 00ff00 ;
20- height : 100vh ;
20+ min-height : 100vh ;
21+ height : 100% ;
2122 display : flex;
2223 flex-direction : column;
2324 overflow : hidden;
2425 }
2526
27+ @supports (-webkit-touch-callout : none) {
28+ body {
29+ min-height : -webkit-fill-available;
30+ }
31+ }
32+
2633 .header {
2734 background : # 001100 ;
2835 border-bottom : 2px solid # 00ff00 ;
124131 overflow-y : auto;
125132 padding : 10px 20px ;
126133 background : # 000 ;
134+ min-height : 0 ;
135+ -webkit-overflow-scrolling : touch;
136+ }
137+
138+ /* Mobile optimizations */
139+ @media (max-width : 768px ) {
140+ .header {
141+ padding : 8px 15px ;
142+ flex-wrap : wrap;
143+ gap : 10px ;
144+ }
145+
146+ .title {
147+ font-size : 14px ;
148+ order : 1 ;
149+ width : 100% ;
150+ text-align : center;
151+ }
152+
153+ .user-info {
154+ order : 2 ;
155+ width : 100% ;
156+ justify-content : space-between;
157+ gap : 10px ;
158+ }
159+
160+ .nickname-input {
161+ flex : 1 ;
162+ min-width : 0 ;
163+ padding : 4px 8px ;
164+ font-size : 12px ;
165+ }
166+
167+ .status-group {
168+ align-items : flex-end;
169+ gap : 2px ;
170+ }
171+
172+ .status {
173+ font-size : 10px ;
174+ }
175+
176+ .node-count {
177+ font-size : 9px ;
178+ }
179+
180+ .chat-container {
181+ padding : 8px 15px ;
182+ padding-bottom : env (safe-area-inset-bottom, 0px );
183+ }
184+
185+ .input-container {
186+ padding : 10px 15px ;
187+ padding-bottom : calc (10px + env (safe-area-inset-bottom, 0px ));
188+ position : relative;
189+ z-index : 1000 ;
190+ }
191+
192+ .message-input {
193+ font-size : 16px ; /* Prevents zoom on iOS */
194+ padding : 12px 15px ;
195+ }
196+
197+ .send-button {
198+ padding : 12px 15px ;
199+ font-size : 14px ;
200+ }
201+
202+ .message {
203+ margin-bottom : 8px ;
204+ font-size : 13px ;
205+ }
206+
207+ .message-status {
208+ font-size : 11px ;
209+ min-width : 14px ;
210+ height : 14px ;
211+ }
212+ }
213+
214+ /* Very small screens */
215+ @media (max-width : 480px ) {
216+ .input-container {
217+ flex-direction : column;
218+ gap : 8px ;
219+ }
220+
221+ .send-button {
222+ width : 100% ;
223+ }
224+
225+ .node-count .tooltip {
226+ right : 0 ;
227+ left : auto;
228+ max-width : calc (100vw - 40px );
229+ }
127230 }
128231
129232 .message {
You can’t perform that action at this time.
0 commit comments