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

Commit 4836494

Browse files
author
Germain
committed
Fix room tile text clipping
1 parent b467d07 commit 4836494

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

res/css/views/rooms/_RoomTile.pcss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ limitations under the License.
6060
color: $secondary-content;
6161
display: flex;
6262
gap: $spacing-4;
63-
line-height: 1.2;
63+
line-height: 1.25;
64+
position: relative;
65+
top: -1px;
6466
}
6567

6668
.mx_RoomTile_title,
@@ -72,7 +74,7 @@ limitations under the License.
7274

7375
.mx_RoomTile_title {
7476
font: var(--cpd-font-body-md-regular);
75-
line-height: 1;
77+
line-height: 1.25;
7678

7779
&.mx_RoomTile_titleHasUnreadEvents {
7880
font-weight: var(--cpd-font-weight-semibold);
@@ -81,7 +83,6 @@ limitations under the License.
8183

8284
.mx_RoomTile_titleWithSubtitle {
8385
margin-top: -2px; /* shift the title up a bit more */
84-
margin-bottom: 1px;
8586
}
8687
}
8788

0 commit comments

Comments
 (0)