Skip to content

Commit

Permalink
fix: icons not aligned & modal window height not enough (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuozhiyongde authored Dec 30, 2023
1 parent 38f395d commit 98e1084
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const HeaderDrawerButton = () => {

<Dialog.Content>
<m.dialog
className="fixed left-0 right-0 top-0 z-[12] m-0 block w-full overflow-auto rounded-xl bg-base-100/90 px-3 backdrop-blur-sm"
className="fixed left-0 right-0 top-0 z-[12] m-0 block h-screen w-full overflow-auto rounded-xl bg-base-100/90 px-3 backdrop-blur-sm"
initial={{ opacity: 0.8 }}
animate={{ opacity: 1 }}
exit={{ opacity: 0 }}
Expand Down
4 changes: 2 additions & 2 deletions src/components/widgets/post/PostActionAside.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const LikeButton = () => {
>
<m.i
className={clsxm(
'hover:text-uk-orange-light hover:opacity-100',
'relative flex hover:text-uk-orange-light hover:opacity-100',
asideButtonStyles.base,

isLiked && 'text-uk-orange-dark',
Expand All @@ -145,7 +145,7 @@ const LikeButton = () => {
>
<ThumbsupIcon />
{!!likeCount && (
<span className="absolute bottom-[5px] right-0 translate-x-[8px] transform text-[10px]">
<span className="absolute bottom-0 right-0 translate-x-[8px] transform text-[10px]">
<NumberSmoothTransition>{likeCount}</NumberSmoothTransition>
</span>
)}
Expand Down

1 comment on commit 98e1084

@vercel
Copy link

@vercel vercel bot commented on 98e1084 Dec 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

shiro – ./

shiro-innei.vercel.app
springtide.vercel.app
innei.in
shiro-git-main-innei.vercel.app

Please sign in to comment.