remove borders from autocomplete dialog

This commit is contained in:
Alejandro Gomez 2023-01-20 12:19:38 +01:00
parent b7b19ea1dd
commit c6e0c2b7c9
No known key found for this signature in database
GPG Key ID: 4DF39E566658C817
2 changed files with 14 additions and 2 deletions

View File

@ -1,5 +1,17 @@
.rta__list {
border: none;
}
.rta__item:not(:last-child) {
border: none;
}
.rta__entity--selected .user-item, .rta__entity--selected .emoji-item {
text-decoration: none;
background: var(--gray-secondary);
}
.user-item, .emoji-item {
background: var(--gray);
color: var(--font-color);
background: var(--note-bg);
display: flex;
flex-direction: row;
align-items: center;

View File

@ -63,7 +63,7 @@ const Textarea = ({ users, onChange, ...rest }: any) => {
const emojiDataProvider = (token: string) => {
return emoji(token)
.slice(0, 10)
.slice(0, 5)
.map(({ name, char }) => ({ name, char }));
}