mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-09-23 20:50:08 +08:00
feat: improve mobile style
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import styles from "./ui-lib.module.scss";
|
||||
import LoadingIcon from "../icons/three-dots.svg";
|
||||
|
||||
export function Popover(props: {
|
||||
children: JSX.Element;
|
||||
@@ -36,3 +37,13 @@ export function ListItem(props: { children: JSX.Element[] }) {
|
||||
export function List(props: { children: JSX.Element[] }) {
|
||||
return <div className={styles.list}>{props.children}</div>;
|
||||
}
|
||||
|
||||
export function Loading() {
|
||||
return <div style={{
|
||||
height: "100vh",
|
||||
width: "100vw",
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "center"
|
||||
}}><LoadingIcon /></div>
|
||||
}
|
Reference in New Issue
Block a user