mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-29 19:35:20 +02:00
feat(web): update mention components to use Button component and enhance styling
This commit is contained in:
parent
d445974838
commit
9cd3de9ec1
4 changed files with 19 additions and 10 deletions
|
|
@ -564,7 +564,7 @@ const Composer: FC = () => {
|
|||
setSuggestionAnchorPoint(null);
|
||||
return;
|
||||
}
|
||||
setSuggestionAnchorPoint(anchorPoint);
|
||||
setSuggestionAnchorPoint((current) => current ?? anchorPoint);
|
||||
setShowDocumentPopover(true);
|
||||
setMentionQuery(trigger.query);
|
||||
}, []);
|
||||
|
|
@ -596,7 +596,7 @@ const Composer: FC = () => {
|
|||
setSuggestionAnchorPoint(null);
|
||||
return;
|
||||
}
|
||||
setSuggestionAnchorPoint(anchorPoint);
|
||||
setSuggestionAnchorPoint((current) => current ?? anchorPoint);
|
||||
setShowPromptPicker(true);
|
||||
setActionQuery(trigger.query);
|
||||
}, [clipboardInitialText]);
|
||||
|
|
@ -866,7 +866,7 @@ const Composer: FC = () => {
|
|||
onDocumentRemove={handleDocumentRemove}
|
||||
onSubmit={handleSubmit}
|
||||
onKeyDown={handleKeyDown}
|
||||
className="min-h-[24px]"
|
||||
className="min-h-[24px] **:data-slate-placeholder:font-semibold"
|
||||
/>
|
||||
</div>
|
||||
<ComposerAction isBlockedByOtherUser={isBlockedByOtherUser} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue