Skip to content

Commit

Permalink
fix: button abnormal style (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaowoxiaobala authored Jun 10, 2023
1 parent 3d14431 commit 205459d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const ChatBtn: FC<{ onClick: () => void, className?: string }> = ({
return (
<Button
type='primary'
className={cn(className, `space-x-2 flex items-center ${s.customBtn}`)}
className={cn(className, `!p-0 space-x-2 flex items-center ${s.customBtn}`)}
onClick={onClick}>
<svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fillRule="evenodd" clipRule="evenodd" d="M18 10.5C18 14.366 14.418 17.5 10 17.5C8.58005 17.506 7.17955 17.1698 5.917 16.52L2 17.5L3.338 14.377C2.493 13.267 2 11.934 2 10.5C2 6.634 5.582 3.5 10 3.5C14.418 3.5 18 6.634 18 10.5ZM7 9.5H5V11.5H7V9.5ZM15 9.5H13V11.5H15V9.5ZM9 9.5H11V11.5H9V9.5Z" fill="white" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const ConfigSence: FC<IConfigSenceProps> = ({
</div>
<Button
type="primary"
className='w-[80px] !h-8'
className='w-[80px] !h-8 !p-0'
onClick={onSend}
disabled={!query || query === ''}
>
Expand Down

0 comments on commit 205459d

Please sign in to comment.