optimise for mobile

This commit is contained in:
Lain Iwakura 2025-06-16 03:27:26 +03:00
parent 5a32110306
commit f58c1fa2da
No known key found for this signature in database
GPG Key ID: C7C18257F2ADC6F8
2 changed files with 29 additions and 0 deletions

View File

@ -79,6 +79,8 @@ try {
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline';">
<title>Text0Nly</title>
<link rel="stylesheet" href="styles.css">
</head>

View File

@ -216,13 +216,40 @@ button:hover {
.container {
padding: 0;
height: 100dvh;
}
.message {
padding: 8px;
margin: 4px 0;
}
.chat-container {
padding: 8px;
}
.header h1 {
font-size: 1.8em;
}
button {
width: 100%;
padding: 12px;
font-size: 1.1em;
}
input[type="text"], textarea {
font-size: 16px;
padding: 12px;
}
}
@media (max-width: 400px) {
.header h1 {
font-size: 1.5em;
}
.message {
font-size: 0.95em;
}
}