Skip to content

Commit d1d075b

Browse files
committed
fix: post card badge position
1 parent e447c49 commit d1d075b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

web-components/src/components/cards/PostCard/PostCard.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,14 +247,15 @@ export default function PostCard({
247247
</Box>
248248
</Grid>
249249
)}
250-
{!hasFile && (
250+
{!hasFile && (privacyLabel || draftLabel) && (
251251
<Grid
252+
className="xl:absolute xl:-top-[7px] xl:right-[25px]"
252253
item
253254
xs="auto"
254255
sx={{
255256
flexShrink: 0,
256257
marginRight: '10px',
257-
marginBottom: { xs: '0px', md: '20px', xlg: '0px' },
258+
marginBottom: { xs: '0px', md: '20px', xl: '0px' },
258259
}}
259260
>
260261
{!draftLabel && privacyLabel && (

0 commit comments

Comments
 (0)