Skip to content

Commit 96ce612

Browse files
committed
fix: styles problem.
1 parent 528253e commit 96ce612

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

.changeset/curvy-glasses-try.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"xlog": patch
3+
---
4+
5+
Fixed styles problem.

src/components/BlockchainInfoIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const BlockchainInfoIcon: FC<Props> = (props) => {
7272
return (
7373
<>
7474
<TouchableWithoutFeedback onPress={openModal}>
75-
<ShieldCheck color="$green10" width={size}/>
75+
<ShieldCheck color="$green10" size={size}/>
7676
</TouchableWithoutFeedback>
7777
<ModalWithFadeAnimation
7878
isVisible={isModalVisible}

src/components/CommentItem.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export const CommentItem: React.FC<CommentItemProps> = (props) => {
196196
<Paragraph size={"$4"}>
197197
{comment?.metadata?.content?.content}
198198
</Paragraph>
199-
<XStack alignItems="center">
199+
<XStack alignItems="center" marginTop={"$1"}>
200200
<Text color={"$colorSubtitle"}>
201201
{commonI18n.t("ago", {
202202
time: date.dayjs
@@ -208,9 +208,7 @@ export const CommentItem: React.FC<CommentItemProps> = (props) => {
208208
})}
209209
{" · "}
210210
</Text>
211-
<Stack height={22} alignItems="center">
212-
<BlockchainInfoIcon size={16} character={comment?.character} page={comment?.toNote}/>
213-
</Stack>
211+
<BlockchainInfoIcon size={16} character={comment?.character} page={comment?.toNote}/>
214212
</XStack>
215213
</YStack>
216214

0 commit comments

Comments
 (0)