Skip to content

Commit

Permalink
Correct display for non-square images in the title page. Closes #272.
Browse files Browse the repository at this point in the history
  • Loading branch information
impworks committed Jan 14, 2024
1 parent 0b570fc commit c58b513
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/Bonsai/Areas/Common/Styles/Components/admin/pages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,12 @@
#editor-main-photo {
.main-photo-wrapper {
.main-photo {
width: 100%;
height: auto;

object-fit: cover;
border-radius: 100%;
width: 11rem;
height: 11rem;
margin: auto;
display: block;
margin-bottom: 15px;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
margin-bottom: 1rem;

img {
object-fit: cover;
border-radius: 100%;
width: 11rem;
height: 11rem;
Expand Down

0 comments on commit c58b513

Please sign in to comment.