feat: old page ui style optiminize
This commit is contained in:
parent
fa2f8c66d1
commit
4e4431339f
|
@ -2,6 +2,9 @@
|
||||||
&-body {
|
&-body {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
div:not(.no-dark) > svg {
|
||||||
|
filter: invert(0.5);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.export-content {
|
.export-content {
|
||||||
|
|
|
@ -4,6 +4,10 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
div:not(.no-dark) > svg {
|
||||||
|
filter: invert(0.5);
|
||||||
|
}
|
||||||
|
|
||||||
.mask-page-body {
|
.mask-page-body {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
|
@ -465,8 +465,6 @@ export function MaskPage(props: { className?: string }) {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const isMobileScreen = useMobileScreen();
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -8,6 +8,10 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
div:not(.no-dark) > svg {
|
||||||
|
filter: invert(0.5);
|
||||||
|
}
|
||||||
|
|
||||||
.mask-header {
|
.mask-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
|
@ -117,7 +117,7 @@ export default function Home() {
|
||||||
<NewChat
|
<NewChat
|
||||||
className={`
|
className={`
|
||||||
md:w-[100%] px-1
|
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" : ""}
|
${config.isMobileScreen ? "pb-chat-panel-mobile" : ""}
|
||||||
`}
|
`}
|
||||||
/>
|
/>
|
||||||
|
@ -129,7 +129,7 @@ export default function Home() {
|
||||||
<MaskPage
|
<MaskPage
|
||||||
className={`
|
className={`
|
||||||
md:w-[100%]
|
md:w-[100%]
|
||||||
${config.theme === "dark" ? "" : "bg-gray-50"}
|
${config.theme === "dark" ? "bg-[var(--white)]" : "bg-gray-50"}
|
||||||
${config.isMobileScreen ? "pb-chat-panel-mobile" : ""}
|
${config.isMobileScreen ? "pb-chat-panel-mobile" : ""}
|
||||||
`}
|
`}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -38,10 +38,6 @@
|
||||||
--border-in-light: 1px solid rgba(255, 255, 255, 0.192);
|
--border-in-light: 1px solid rgba(255, 255, 255, 0.192);
|
||||||
|
|
||||||
--theme-color: var(--gray);
|
--theme-color: var(--gray);
|
||||||
|
|
||||||
div:not(.no-dark) > svg {
|
|
||||||
filter: invert(0.5);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.light {
|
.light {
|
||||||
|
|
Loading…
Reference in New Issue