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

Commit

Permalink
Fix room tile text clipping (#11196)
Browse files Browse the repository at this point in the history
  • Loading branch information
Germain authored Jul 7, 2023
1 parent 902263d commit f32b9ba
Showing 1 changed file with 4 additions and 3 deletions.
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

0 comments on commit f32b9ba

Please sign in to comment.