forked from XiaoMo/ChatGPT-Next-Web
feat: improve mask ui
This commit is contained in:
parent
116e16e30d
commit
132f6c8420
@ -23,8 +23,9 @@
|
|||||||
.mask-filter {
|
.mask-filter {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 20px;
|
||||||
animation: search-in ease 0.3s;
|
animation: search-in ease 0.3s;
|
||||||
|
height: 40px;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
@ -32,7 +33,6 @@
|
|||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
margin-bottom: 20px;
|
|
||||||
animation: search-in ease 0.3s;
|
animation: search-in ease 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -45,10 +45,7 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
min-width: 80px;
|
||||||
button {
|
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -291,8 +291,8 @@ export function MaskPage() {
|
|||||||
))}
|
))}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<div className={styles["mask-create"]}>
|
|
||||||
<IconButton
|
<IconButton
|
||||||
|
className={styles["mask-create"]}
|
||||||
icon={<AddIcon />}
|
icon={<AddIcon />}
|
||||||
text={Locale.Mask.Page.Create}
|
text={Locale.Mask.Page.Create}
|
||||||
bordered
|
bordered
|
||||||
@ -302,7 +302,6 @@ export function MaskPage() {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
{masks.map((m) => (
|
{masks.map((m) => (
|
||||||
|
Loading…
Reference in New Issue
Block a user