Skip to content

Commit

Permalink
Align avatar inside ReplyChain (ReplyTile)
Browse files Browse the repository at this point in the history
  • Loading branch information
luixxiul committed Mar 1, 2024
1 parent 6d5afe8 commit 9e9a6b6
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions res/css/_sc/views/rooms/_IRClayout.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,23 @@ limitations under the License.
}
}

@define-mixin sc_ReplyTile {
.mx_ReplyChain {
.mx_DisambiguatedProfile {
--cpd-font-body-md-regular: var(--line-height); /* Fix the line-height value specified with Compound for IRC layout */
@define-mixin sc_ReplyChain {
.mx_ReplyChain_wrapper {
/* "In reply to" line */
blockquote:first-of-type {
padding-bottom: 2px; /* Add padding between "In reply to" line and the replied content */
}

.mx_ReplyChain {
.mx_ReplyTile {
padding-block: unset; /* Unset the inherited value */
}

display: unset; /* Unset the inherited value */
.mx_DisambiguatedProfile {
--cpd-font-body-md-regular: var(--line-height); /* Fix the line-height value specified with Compound for IRC layout */

display: unset; /* Unset the inherited value */
}
}
}
}
Expand Down Expand Up @@ -110,7 +121,7 @@ limitations under the License.
@mixin sc_DisambiguatedProfile;
@mixin sc_BaseAvatar;
@mixin sc_borderRadius;
@mixin sc_ReplyTile;
@mixin sc_ReplyChain;
}
}
}
Expand Down

0 comments on commit 9e9a6b6

Please sign in to comment.