Skip to content

Commit

Permalink
Twenty Nineteen: Fixes avatar block size inconsistency.
Browse files Browse the repository at this point in the history
The avatar block size was different between front and editor. This was because the width and height were added to the avatar class. 

Props poena, naeemhaque, sabernhardt, sakibmd.
Fixes #60664.


git-svn-id: https://develop.svn.wordpress.org/trunk@58580 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
karmatosed committed Jun 26, 2024
1 parent 2516e98 commit c235b8d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/wp-content/themes/twentynineteen/sass/media/_media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ object {
.avatar {
border-radius: 100%;
display: block;
height: calc(2.25 * #{$size__spacing-unit});
height: auto;
min-height: inherit;
width: calc(2.25 * #{$size__spacing-unit});
width: auto;
}

svg {
Expand Down
4 changes: 2 additions & 2 deletions src/wp-content/themes/twentynineteen/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -6466,9 +6466,9 @@ object {
.avatar {
border-radius: 100%;
display: block;
height: calc(2.25 * 1rem);
height: auto;
min-height: inherit;
width: calc(2.25 * 1rem);
width: auto;
}

svg {
Expand Down
4 changes: 2 additions & 2 deletions src/wp-content/themes/twentynineteen/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6478,9 +6478,9 @@ object {
.avatar {
border-radius: 100%;
display: block;
height: calc(2.25 * 1rem);
height: auto;
min-height: inherit;
width: calc(2.25 * 1rem);
width: auto;
}

svg {
Expand Down

0 comments on commit c235b8d

Please sign in to comment.