Skip to content

Commit 98e1084

Browse files
fix: icons not aligned & modal window height not enough (#217)
1 parent 38f395d commit 98e1084

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/layout/header/internal/HeaderDrawerButton.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const HeaderDrawerButton = () => {
3636

3737
<Dialog.Content>
3838
<m.dialog
39-
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"
39+
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"
4040
initial={{ opacity: 0.8 }}
4141
animate={{ opacity: 1 }}
4242
exit={{ opacity: 0 }}

src/components/widgets/post/PostActionAside.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const LikeButton = () => {
128128
>
129129
<m.i
130130
className={clsxm(
131-
'hover:text-uk-orange-light hover:opacity-100',
131+
'relative flex hover:text-uk-orange-light hover:opacity-100',
132132
asideButtonStyles.base,
133133

134134
isLiked && 'text-uk-orange-dark',
@@ -145,7 +145,7 @@ const LikeButton = () => {
145145
>
146146
<ThumbsupIcon />
147147
{!!likeCount && (
148-
<span className="absolute bottom-[5px] right-0 translate-x-[8px] transform text-[10px]">
148+
<span className="absolute bottom-0 right-0 translate-x-[8px] transform text-[10px]">
149149
<NumberSmoothTransition>{likeCount}</NumberSmoothTransition>
150150
</span>
151151
)}

0 commit comments

Comments
 (0)