Skip to content

Commit

Permalink
Merge pull request #57 from frontendcafe/fix-p-child-of-p
Browse files Browse the repository at this point in the history
Fix p child of p
  • Loading branch information
rolivencia authored Nov 28, 2024
2 parents 27622b2 + 9f9070b commit 73a8106
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/molecules/HeadearPurchaseReceipt.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const HeaderOneDouble = styled.h1`

const BlockLeft = styled.p`
font-size: 2rem;
> p {
> span {
margin: 1rem 0;
}
`;
Expand All @@ -29,8 +29,9 @@ export const HeadearPurchaseReceipt = ({paymentDate, paymentHour, paymentNumber}
<HeaderOneDouble>Recibo</HeaderOneDouble>
<FlexContainer>
<BlockLeft>
<p>{paymentDate}</p>
<p>{paymentHour}</p>
<span>{paymentDate}</span>
<br />
<span>{paymentHour}</span>
</BlockLeft>
<BlockRight>Orden No. {paymentNumber}</BlockRight>
</FlexContainer>
Expand Down

0 comments on commit 73a8106

Please sign in to comment.