Skip to content

Commit

Permalink
fix: caption position
Browse files Browse the repository at this point in the history
  • Loading branch information
limulus authored Nov 18, 2024
1 parent fc288da commit dbd6830
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions www/_includes/components/article-photo.webc
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,15 @@
margin-left: calc(var(--body-padding) / -2);
margin-right: 1.5rem;
}

:host[placement='left'] figcaption,
:host[placement='right'] figcaption {
padding-right: 1rem;
}
}

:host figcaption {
box-sizing: border-box;
margin: 0.5rem 0;
font-size: 0.9rem;
text-align: right;
Expand Down

0 comments on commit dbd6830

Please sign in to comment.