moved chip to between Cover Image and Article content

This commit is contained in:
2025-11-18 15:20:11 +05:30
parent f15155d31c
commit 0340e17467

View File

@@ -38,13 +38,6 @@ export default function ArticleView({
<ArrowBackRoundedIcon />
</IconButton>
<Chip
label={article.tag}
variant="outlined"
color="primary"
sx={{ mb: 2, textTransform: 'uppercase', fontWeight: 500 }}
/>
{currentUser && (
<IconButton onClick={onEdit} sx={{ mb: 2 }}>
<EditRoundedIcon />
@@ -59,6 +52,13 @@ export default function ArticleView({
<Divider sx={{ my: 3 }} />
<Chip
label={article.tag}
variant="outlined"
color="primary"
sx={{ mb: 2, textTransform: 'uppercase', fontWeight: 500 }}
/>
<CoverImage
src={(
import.meta.env.VITE_API_BASE_URL.replace(/\/+$/, "") +