feat: improve status

pull/26/head
fantasticit 2022-04-10 11:47:55 +08:00
parent 5db270dcf6
commit b598c33fc5
2 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,8 @@
}
.node-status {
margin-right: 4px;
.semi-tag-default {
border: 1px solid var(--node-border-color);
}

View File

@ -76,6 +76,7 @@ export const StatusWrapper = ({ editor, node, updateAttributes }) => {
useEffect(() => {
if (defaultShowPicker) {
toggleVisible(true);
setTimeout(() => ref.current?.focus(), 100);
}
}, [defaultShowPicker]);