[FIX] Minor bug fixes in MentionList and MentionNode UI (#2600)

* fix: removed text color in peek view

* fix: fixed list view UI bugs and node view colors

* feat: update imports in suggestions for mentionSuggestion type

* fix: updated mention list css

* fix: updated mention node UI according to the design provided

* style: update the mentions dropdown UI

* style: mentioned users UI in the editor

---------

Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
This commit is contained in:
Henit Chobisa 2023-11-02 19:31:25 +05:30 committed by GitHub
parent a9b72fa1d2
commit da391064aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 115 additions and 119 deletions

View file

@ -140,7 +140,7 @@ export const PeekOverviewIssueDetails: FC<IPeekOverviewIssueDetails> = (props) =
</div>
<span>{errors.name ? errors.name.message : null}</span>
<span className="text-black">
<span className="">
<RichTextEditor
uploadFile={fileService.getUploadFileFunction(workspaceSlug)}
deleteFile={fileService.deleteImage}

View file

@ -229,27 +229,3 @@ ul[data-type="taskList"] li[data-checked="true"] > div > p {
.ProseMirror table * .is-empty::before {
opacity: 0;
}
.items {
position: absolute;
max-height: 40vh;
background: rgb(var(--color-background-100));
border-radius: 0.5rem;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0px 10px 20px rgba(0, 0, 0, 0.1);
color: rgb(var(--color-text-100));
font-size: 0.9rem;
overflow: auto;
}
.item {
background: transparent;
border: 1px solid transparent;
border-radius: 0.4rem;
text-align: left;
cursor: pointer;
}
.item.is-selected {
border-color: rgb(var(--color-border-200));
}