Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

Commit e02ce4a

Browse files
committed
fix: dm room title ascenders clipping subtitle
On user rooms with RPC enabled, room titles (the username e.g. 'greg') with ascenders (e.g. 'g') are cut off from the subtitle below.
1 parent c93edaf commit e02ce4a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

res/css/views/rooms/_RoomRPC.pcss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,24 @@ Please see LICENSE files in the repository root for full details.
66
*/
77

88
.mx_RoomRPC {
9+
/* hide text overflow on hover */
910
display: contents;
1011

12+
/* crop icon to circle */
1113
img {
1214
border-radius: 50%;
1315
}
1416
}
1517

18+
/* adjust subtitle down */
1619
.mx_RoomTile_dm
1720
.mx_RoomTile_subtitle {
1821
top: 0px !important;
1922
}
23+
24+
/* fix dm room title ascenders clipping subtitle */
25+
.mx_RoomTile_titleWithSubtitle {
26+
margin-bottom: -0.2em;
27+
overflow: visible;
28+
mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
29+
}

0 commit comments

Comments
 (0)