From b003a374b83aa0c508e01453818b7d1e6766a550 Mon Sep 17 00:00:00 2001 From: Yorun <547747006@qq.com> Date: Mon, 26 Jun 2023 04:16:06 +0000 Subject: [PATCH] fix: alignment of mobile settings page title. --- app/components/chat.module.scss | 8 +++++++- app/components/chat.tsx | 4 ++-- app/components/ui-lib.module.scss | 4 ++-- app/styles/window.scss | 4 ---- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/app/components/chat.module.scss b/app/components/chat.module.scss index 839e1ff5..c3e7c619 100644 --- a/app/components/chat.module.scss +++ b/app/components/chat.module.scss @@ -218,7 +218,7 @@ overscroll-behavior: none; } -.chat-body-title { +.chat-body-main-title { cursor: pointer; &:hover { @@ -226,6 +226,12 @@ } } +@media only screen and (max-width: 600px) { + .chat-body-title { + text-align: center; + } +} + .chat-message { display: flex; flex-direction: row; diff --git a/app/components/chat.tsx b/app/components/chat.tsx index b36b4763..ad38dd65 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -808,9 +808,9 @@ export function Chat() { )} -