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

Fix room tile text clipping #11196

Merged
merged 1 commit into from
Jul 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions res/css/views/rooms/_RoomTile.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ limitations under the License.
color: $secondary-content;
display: flex;
gap: $spacing-4;
line-height: 1.2;
line-height: 1.25;
position: relative;
top: -1px;
}

.mx_RoomTile_title,
Expand All @@ -72,7 +74,7 @@ limitations under the License.

.mx_RoomTile_title {
font: var(--cpd-font-body-md-regular);
line-height: 1;
line-height: 1.25;

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

.mx_RoomTile_titleWithSubtitle {
margin-top: -2px; /* shift the title up a bit more */
margin-bottom: 1px;
}
}

Expand Down