Skip to content

Commit

Permalink
Fix disambiguatedProfile overflow on ReplyTile
Browse files Browse the repository at this point in the history
  • Loading branch information
luixxiul committed Mar 3, 2024
1 parent 7778c19 commit a62f97e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions res/css/_sc/views/rooms/_IRCLayout.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

@define-mixin mx_ReplyChain_disambiguatedProfile {
.mx_ReplyChain .mx_DisambiguatedProfile:hover {
overflow: hidden; /* Override "overflow: visible" specified by the upstream */
}
}

/* This mixin defines border radius for corders */
@define-mixin sc_borderRadius {
.mx_DisambiguatedProfile {
Expand Down Expand Up @@ -100,6 +106,8 @@ limitations under the License.

@define-mixin sc_ReplyChain {
.mx_ReplyChain_wrapper {
@mixin mx_ReplyChain_disambiguatedProfile;

/* "In reply to" line */
blockquote:first-of-type {
padding-bottom: 2px; /* Add padding between "In reply to" line and the replied content */
Expand Down

0 comments on commit a62f97e

Please sign in to comment.