Skip to content

Commit

Permalink
style: minor adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzuodong committed Aug 14, 2024
1 parent d61fd0e commit 037ab6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions web/app/components/base/app-icon-picker/Uploader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ const Uploader: FC<UploaderProps> = ({
const inputRef = createRef<HTMLInputElement>()

return (
<div className="w-full px-3 py-1.5">
<div className={classNames(className, 'w-full px-3 py-1.5')}>
<div
className={classNames(className,
className={classNames(
isDragActive && 'border-primary-600',
'relative aspect-square bg-gray-50 border-[1.5px] border-gray-200 border-dashed rounded-lg flex flex-col justify-center items-center text-gray-500')}
onDragEnter={handleDragEnter}
Expand Down
4 changes: 2 additions & 2 deletions web/app/components/base/emoji-picker/Inner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const EmojiPickerInner: FC<IEmojiPickerInnerProps> = ({
}, [onSelect, selectedEmoji, selectedBackground])

return <div className={cn(className)}>
<div className='flex flex-col items-center w-full p-3'>
<div className='flex flex-col items-center w-full px-3'>
<div className="relative w-full">
<div className="absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none">
<MagnifyingGlassIcon className="w-5 h-5 text-gray-400" aria-hidden="true" />
Expand Down Expand Up @@ -137,7 +137,7 @@ const EmojiPickerInner: FC<IEmojiPickerInnerProps> = ({
</div>

{/* Color Select */}
<div className={cn('p-3 ', selectedEmoji === '' ? 'opacity-25' : '')}>
<div className={cn('p-3 pb-0', selectedEmoji === '' ? 'opacity-25' : '')}>
<p className='font-medium uppercase text-xs text-[#101828] mb-2'>Choose Style</p>
<div className='w-full h-full grid grid-cols-8 gap-1'>
{backgroundColors.map((color) => {
Expand Down

0 comments on commit 037ab6d

Please sign in to comment.