feat: old page ui style optiminize

This commit is contained in:
Dean-YZG 2024-05-07 11:22:17 +08:00
parent fa2f8c66d1
commit 4e4431339f
6 changed files with 13 additions and 8 deletions

View File

@ -2,6 +2,9 @@
&-body {
margin-top: 20px;
}
div:not(.no-dark) > svg {
filter: invert(0.5);
}
}
.export-content {

View File

@ -4,6 +4,10 @@
display: flex;
flex-direction: column;
div:not(.no-dark) > svg {
filter: invert(0.5);
}
.mask-page-body {
padding: 20px;
overflow-y: auto;

View File

@ -465,8 +465,6 @@ export function MaskPage(props: { className?: string }) {
});
};
const isMobileScreen = useMobileScreen();
return (
<>
<div

View File

@ -8,6 +8,10 @@
justify-content: center;
flex-direction: column;
div:not(.no-dark) > svg {
filter: invert(0.5);
}
.mask-header {
display: flex;
justify-content: space-between;

View File

@ -117,7 +117,7 @@ export default function Home() {
<NewChat
className={`
md:w-[100%] px-1
${config.theme === "dark" ? "" : "bg-gray-50"}
${config.theme === "dark" ? "bg-[var(--white)]" : "bg-gray-50"}
${config.isMobileScreen ? "pb-chat-panel-mobile" : ""}
`}
/>
@ -129,7 +129,7 @@ export default function Home() {
<MaskPage
className={`
md:w-[100%]
${config.theme === "dark" ? "" : "bg-gray-50"}
${config.theme === "dark" ? "bg-[var(--white)]" : "bg-gray-50"}
${config.isMobileScreen ? "pb-chat-panel-mobile" : ""}
`}
/>

View File

@ -38,10 +38,6 @@
--border-in-light: 1px solid rgba(255, 255, 255, 0.192);
--theme-color: var(--gray);
div:not(.no-dark) > svg {
filter: invert(0.5);
}
}
.light {