moved chip to between Cover Image and Article content
This commit is contained in:
@@ -38,13 +38,6 @@ export default function ArticleView({
|
|||||||
<ArrowBackRoundedIcon />
|
<ArrowBackRoundedIcon />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
|
||||||
<Chip
|
|
||||||
label={article.tag}
|
|
||||||
variant="outlined"
|
|
||||||
color="primary"
|
|
||||||
sx={{ mb: 2, textTransform: 'uppercase', fontWeight: 500 }}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{currentUser && (
|
{currentUser && (
|
||||||
<IconButton onClick={onEdit} sx={{ mb: 2 }}>
|
<IconButton onClick={onEdit} sx={{ mb: 2 }}>
|
||||||
<EditRoundedIcon />
|
<EditRoundedIcon />
|
||||||
@@ -59,6 +52,13 @@ export default function ArticleView({
|
|||||||
|
|
||||||
<Divider sx={{ my: 3 }} />
|
<Divider sx={{ my: 3 }} />
|
||||||
|
|
||||||
|
<Chip
|
||||||
|
label={article.tag}
|
||||||
|
variant="outlined"
|
||||||
|
color="primary"
|
||||||
|
sx={{ mb: 2, textTransform: 'uppercase', fontWeight: 500 }}
|
||||||
|
/>
|
||||||
|
|
||||||
<CoverImage
|
<CoverImage
|
||||||
src={(
|
src={(
|
||||||
import.meta.env.VITE_API_BASE_URL.replace(/\/+$/, "") +
|
import.meta.env.VITE_API_BASE_URL.replace(/\/+$/, "") +
|
||||||
|
|||||||
Reference in New Issue
Block a user