Skip to content

Commit

Permalink
Fix Image View forces in image content type (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
iRohitSingh committed Dec 12, 2023
1 parent 049564c commit 731dafa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/293.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Don't force aspect ratio for the Image content type view @iRohitSingh
2 changes: 1 addition & 1 deletion src/theme/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
.content-area {
figure {
img {
aspect-ratio: $aspect-ratio;
object-fit: contain;
}
figcaption {
margin-top: $spacing-small;
Expand Down

0 comments on commit 731dafa

Please sign in to comment.