Make WordPress Core

Changeset 59222


Ignore:
Timestamp:
10/13/2024 03:41:55 PM (4 months ago)
Author:
karmatosed
Message:

Twenty Nineteen: Fixes adjusting avatar dimensions for comment author.

In Twenty Nineteen r58580 increased size of avatars. This caused issues with the position of author checkbox. This resolves by moving without impacting the avatar blocks.

Props sabernhardt, nithins53, sudipatel007.
Fixes #62096.

Location:
trunk/src/wp-content/themes/twentynineteen
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/sass/media/_media.scss

    r58580 r59222  
    2121    border-radius: 100%;
    2222    display: block;
    23     height: auto;
    2423    min-height: inherit;
    25     width: auto;
    2624}
    2725
  • trunk/src/wp-content/themes/twentynineteen/sass/site/primary/_comments.scss

    r58732 r59222  
    206206        .avatar {
    207207            float: left;
     208            height: calc(2.25 * #{$size__spacing-unit});
    208209            margin-right: $size__spacing-unit;
    209210            position: relative;
     211            width: calc(2.25 * #{$size__spacing-unit});
    210212
    211213            @include media(tablet) {
  • trunk/src/wp-content/themes/twentynineteen/style-rtl.css

    r58959 r59222  
    47774777.comment .comment-author .avatar {
    47784778  float: right;
     4779  height: calc(2.25 * 1rem);
    47794780  margin-left: 1rem;
    47804781  position: relative;
     4782  width: calc(2.25 * 1rem);
    47814783}
    47824784
     
    64836485  border-radius: 100%;
    64846486  display: block;
    6485   height: auto;
    64866487  min-height: inherit;
    6487   width: auto;
    64886488}
    64896489
  • trunk/src/wp-content/themes/twentynineteen/style.css

    r58959 r59222  
    47834783.comment .comment-author .avatar {
    47844784  float: left;
     4785  height: calc(2.25 * 1rem);
    47854786  margin-right: 1rem;
    47864787  position: relative;
     4788  width: calc(2.25 * 1rem);
    47874789}
    47884790
     
    64956497  border-radius: 100%;
    64966498  display: block;
    6497   height: auto;
    64986499  min-height: inherit;
    6499   width: auto;
    65006500}
    65016501
Note: See TracChangeset for help on using the changeset viewer.