Skip to content

Commit

Permalink
Apply 14x14 avatar size to EventTile and GELS
Browse files Browse the repository at this point in the history
  • Loading branch information
luixxiul committed Mar 1, 2024
1 parent d5900bf commit 09f1ea4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions res/css/_sc/views/rooms/_IRClayout.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ limitations under the License.
}
}

@define-mixin sc_BaseAvatar {
/* Need to use important to override the js provided height and width values. */
.mx_BaseAvatar,
.mx_BaseAvatar > * {
height: $font-14px !important;
width: $font-14px !important;
}
}

@define-mixin sc_ReplyTile {
.mx_ReplyChain {
.mx_DisambiguatedProfile {
Expand Down Expand Up @@ -99,6 +108,7 @@ limitations under the License.
}

@mixin sc_DisambiguatedProfile;
@mixin sc_BaseAvatar;
@mixin sc_borderRadius;
@mixin sc_ReplyTile;
}
Expand All @@ -124,6 +134,8 @@ limitations under the License.
top: 0px; /* Remove the value specified by the upstream as this is no longer needed */
}
}

@mixin sc_BaseAvatar;
}
}
}
Expand Down

0 comments on commit 09f1ea4

Please sign in to comment.