Skip to content

Commit d078baf

Browse files
committed
style: update
1 parent 9fc60d4 commit d078baf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/ui/emoji-picker.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function EmojiPickerSearch({
4040
<SearchIcon className="!richtext-size-4 !richtext-shrink-0 !richtext-opacity-50" />
4141

4242
<EmojiPickerPrimitive.Search
43-
className="!richtext-outline-hidden !richtext-flex !richtext-h-10 !richtext-w-full !richtext-rounded-md !richtext-bg-transparent !richtext-py-3 !richtext-text-sm placeholder:!richtext-text-muted-foreground disabled:!richtext-cursor-not-allowed disabled:!richtext-opacity-50"
43+
className="!richtext-flex !richtext-h-10 !richtext-w-full !richtext-rounded-md !richtext-border-none !richtext-bg-transparent !richtext-py-3 !richtext-text-sm !richtext-outline-none placeholder:!richtext-text-muted-foreground disabled:!richtext-cursor-not-allowed disabled:!richtext-opacity-50 "
4444
data-slot="emoji-picker-search"
4545
{...props}
4646
/>
@@ -69,7 +69,7 @@ function EmojiPickerEmoji({
6969
{...props}
7070
data-slot="emoji-picker-emoji"
7171
className={cn(
72-
'data-[active]:!richtext-bg-accent !richtext-flex !richtext-size-7 !richtext-items-center !richtext-justify-center !richtext-rounded-sm !richtext-text-base',
72+
'data-[active]:!richtext-bg-accent richtext-bg-transparent !richtext-flex !richtext-size-7 !richtext-items-center !richtext-justify-center !richtext-rounded-sm !richtext-text-base',
7373
className
7474
)}
7575
>

src/extensions/SlashCommand/components/CommandsList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function CommandsList(props: any, ref: any) {
122122

123123
return (
124124
<div
125-
className="richtext-mb-8 richtext-max-h-[min(80vh,24rem)] richtext-flex-wrap richtext-overflow-auto richtext-rounded-lg !richtext-border !richtext-border-neutral-200 !richtext-bg-white richtext-p-1 !richtext-text-black richtext-shadow-sm dark:!richtext-border-neutral-800 dark:!richtext-bg-black"
125+
className="richtext-max-h-[min(80vh,24rem)] richtext-flex-wrap richtext-overflow-auto richtext-rounded-lg !richtext-border !richtext-border-neutral-200 !richtext-bg-white richtext-p-1 !richtext-text-black richtext-shadow-sm dark:!richtext-border-neutral-800 dark:!richtext-bg-black"
126126
ref={scrollContainer}
127127
>
128128
{props?.items?.length
@@ -141,7 +141,7 @@ function CommandsList(props: any, ref: any) {
141141
key={`command-${commandIndex}`}
142142
onClick={() => createCommandClickHandler(groupIndex, commandIndex)}
143143
ref={el => setActiveItemRef(groupIndex, commandIndex, el)}
144-
className={cn('richtext-flex richtext-items-center richtext-gap-3 richtext-px-2 richtext-py-1.5 richtext-text-sm !richtext-text-neutral-800 dark:!richtext-text-neutral-200 richtext-text-left richtext-w-full richtext-rounded-sm richtext-outline-none richtext-transition-colors !richtext-bg-transparent hover:!richtext-bg-accent ', {
144+
className={cn('richtext-flex richtext-items-center richtext-gap-3 richtext-px-2 richtext-py-1.5 richtext-text-sm !richtext-text-neutral-800 dark:!richtext-text-neutral-200 richtext-text-left richtext-w-full richtext-rounded-sm !richtext-outline-none !richtext-border-none richtext-transition-colors !richtext-bg-transparent hover:!richtext-bg-accent ', {
145145
'slash-command-active': selectedGroupIndex === groupIndex && selectedCommandIndex === commandIndex,
146146
})}
147147
>

0 commit comments

Comments
 (0)