Skip to content

Commit

Permalink
fix: prev/next button display
Browse files Browse the repository at this point in the history
  • Loading branch information
blushi committed Aug 8, 2024
1 parent 7f32c12 commit 9392e80
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web-marketplace/src/pages/Post/Post.Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ type Props = {
export const PostFooter = ({ prevIri, nextIri }: Props) => {
const navigate = useNavigate();
return (
<Section className="flex justify-between sm:px-0 pb-[100px] py-0 max-w-[750px] m-auto">
<Section
className={`flex ${
prevIri ? 'justify-between' : 'justify-end'
} sm:px-0 pb-[100px] py-0 max-w-[750px] m-auto`}
>
{prevIri && (
<OutlinedButton
className="text-sm"
Expand Down

0 comments on commit 9392e80

Please sign in to comment.