mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-02 16:16:39 +08:00
暂存
This commit is contained in:
parent
ebbf9e4f7c
commit
c2f563677e
@ -312,3 +312,17 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.modal-mask {
|
||||
z-index: 999;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: var(--full-height);
|
||||
width: 100vw;
|
||||
background-color: rgba(0, 0, 0, .5);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
@ -501,18 +501,21 @@ export function ModalSelector<T>(props: {
|
||||
console.log("-----", props);
|
||||
|
||||
return (
|
||||
<div className={styles["selector"]}>
|
||||
<div className={styles["modal-mask"]}>
|
||||
<Modal title="test" onClose={() => props.onClose?.()}>
|
||||
<AntList grid={{ gutter: 16, column: 4 }}>
|
||||
<Col span={8}>
|
||||
<AntList.Item>
|
||||
<AntCard title="你好">Card</AntCard>
|
||||
</AntList.Item>
|
||||
</Col>
|
||||
|
||||
<AntList.Item>
|
||||
<AntCard title="你好">Card</AntCard>
|
||||
</AntList.Item>
|
||||
<AntList grid={{ gutter: 16, column: 3 }}>
|
||||
<Row gutter={[16, 16]}>
|
||||
<Col span={8}>
|
||||
<AntList.Item>
|
||||
<AntCard title="你好">Card</AntCard>
|
||||
</AntList.Item>
|
||||
</Col>
|
||||
<Col span={8}>
|
||||
<AntList.Item>
|
||||
<AntCard title="你好">Card</AntCard>
|
||||
</AntList.Item>
|
||||
</Col>
|
||||
</Row>
|
||||
</AntList>
|
||||
</Modal>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user