Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4155 from matrix-org/t3chguy/fix_pills
Browse files Browse the repository at this point in the history
word-break in pills and wrap the background correctly
  • Loading branch information
t3chguy authored Mar 2, 2020
2 parents 3ba86ee + 4996139 commit 5f1d858
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions res/css/views/elements/_RichText.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
padding-left: 5px;
}

a.mx_Pill {
word-break: break-all;
display: inline;
}

/* More specific to override `.markdown-body a` text-decoration */
.mx_EventTile_content .markdown-body a.mx_Pill {
text-decoration: none;
Expand Down

0 comments on commit 5f1d858

Please sign in to comment.