mirror of https://github.com/fantasticit/think.git
feat: improve status
This commit is contained in:
parent
5db270dcf6
commit
b598c33fc5
|
@ -17,6 +17,8 @@
|
|||
}
|
||||
|
||||
.node-status {
|
||||
margin-right: 4px;
|
||||
|
||||
.semi-tag-default {
|
||||
border: 1px solid var(--node-border-color);
|
||||
}
|
||||
|
|
|
@ -76,6 +76,7 @@ export const StatusWrapper = ({ editor, node, updateAttributes }) => {
|
|||
useEffect(() => {
|
||||
if (defaultShowPicker) {
|
||||
toggleVisible(true);
|
||||
setTimeout(() => ref.current?.focus(), 100);
|
||||
}
|
||||
}, [defaultShowPicker]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue