Skip to content

Commit

Permalink
Updated show more button design
Browse files Browse the repository at this point in the history
  • Loading branch information
m-rgba committed Dec 24, 2024
1 parent fcdb6e4 commit 9a1e69f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ export const ShowMoreButton = ({
return (
<div
className={classNames(
'mb-[-8px] flex w-full items-center justify-center pb-8',
'flex w-full items-center justify-center',
{
[`from-34% rounded-b-xl bg-gradient-to-t ${
isUser ? 'from-cactus-300/[0.32]' : 'from-moon-150'
'pt-[4px]': isShowingMore,
[`absolute mt-[-44px] pt-[24px] pb-[4px] from-60% z-[1] rounded-b-xl bg-gradient-to-t ${
isUser ? 'from-[#f4fbe8]' : 'from-white'
} to-transparent`]: !isShowingMore,
}
)}>
<Button
className="z-10"
variant="ghost"
endIcon={isShowingMore ? 'chevron-up' : 'chevron-down'}
onClick={() => setIsShowingMore(!isShowingMore)}>
Expand Down

0 comments on commit 9a1e69f

Please sign in to comment.