Increase mobile chat font size
This commit is contained in:
@@ -317,7 +317,7 @@
|
|||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.message-content {
|
.message-content {
|
||||||
font-size: 19px;
|
font-size: 22px;
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -662,9 +662,12 @@ export default function GamePage() {
|
|||||||
setIsInitialLoading(false);
|
setIsInitialLoading(false);
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleDeleteSession = async (sessionId: string, sessionName: string) => {
|
const handleDeleteSession = async (
|
||||||
|
sessionId: string,
|
||||||
|
sessionName: string,
|
||||||
|
) => {
|
||||||
if (!id) return;
|
if (!id) return;
|
||||||
|
|
||||||
const confirmed = confirm(`Удалить сессию "${sessionName}"?`);
|
const confirmed = confirm(`Удалить сессию "${sessionName}"?`);
|
||||||
if (!confirmed) return;
|
if (!confirmed) return;
|
||||||
|
|
||||||
@@ -672,7 +675,7 @@ export default function GamePage() {
|
|||||||
if (success) {
|
if (success) {
|
||||||
const newList = sessionsList.filter((s) => s.id !== sessionId);
|
const newList = sessionsList.filter((s) => s.id !== sessionId);
|
||||||
setSessionsList(newList);
|
setSessionsList(newList);
|
||||||
|
|
||||||
// Если удалили текущую сессию — переключаемся на первую оставшуюся
|
// Если удалили текущую сессию — переключаемся на первую оставшуюся
|
||||||
if (sessionId === currentSessionId && newList.length > 0) {
|
if (sessionId === currentSessionId && newList.length > 0) {
|
||||||
handleSwitchSession(newList[0].id);
|
handleSwitchSession(newList[0].id);
|
||||||
|
|||||||
Reference in New Issue
Block a user