feat: improve mask ui

main
Yidadaa 2 years ago
parent 116e16e30d
commit 132f6c8420

@ -23,8 +23,9 @@
.mask-filter {
width: 100%;
max-width: 100%;
margin-bottom: 10px;
margin-bottom: 20px;
animation: search-in ease 0.3s;
height: 40px;
display: flex;
@ -32,7 +33,6 @@
flex-grow: 1;
max-width: 100%;
min-width: 0;
margin-bottom: 20px;
animation: search-in ease 0.3s;
}
@ -45,10 +45,7 @@
height: 100%;
margin-left: 10px;
box-sizing: border-box;
button {
padding: 10px;
}
min-width: 80px;
}
}

@ -291,17 +291,16 @@ export function MaskPage() {
))}
</select>
<div className={styles["mask-create"]}>
<IconButton
icon={<AddIcon />}
text={Locale.Mask.Page.Create}
bordered
onClick={() => {
const createdMask = maskStore.create();
setEditingMaskId(createdMask.id);
}}
/>
</div>
<IconButton
className={styles["mask-create"]}
icon={<AddIcon />}
text={Locale.Mask.Page.Create}
bordered
onClick={() => {
const createdMask = maskStore.create();
setEditingMaskId(createdMask.id);
}}
/>
</div>
<div>

Loading…
Cancel
Save