Skip to content

Commit

Permalink
feat(news): add formatting for figure and figcaption
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsandoz committed Mar 23, 2024
1 parent e192942 commit a3fedf8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@ a:visited {
text-align: left;
}

.directus-formatted-content figure {
margin-top: var(--st-length-spacing-xs);
}

.directus-formatted-content figcaption {
font-size: 0.8em;
text-align: center;
}

.directus-formatted-content img {
max-width: 100%;
}
Expand Down

0 comments on commit a3fedf8

Please sign in to comment.