You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-31 13:44:28 +03:00
Fix room tile text clipping (#11196)
This commit is contained in:
@ -60,7 +60,9 @@ limitations under the License.
|
|||||||
color: $secondary-content;
|
color: $secondary-content;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: $spacing-4;
|
gap: $spacing-4;
|
||||||
line-height: 1.2;
|
line-height: 1.25;
|
||||||
|
position: relative;
|
||||||
|
top: -1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomTile_title,
|
.mx_RoomTile_title,
|
||||||
@ -72,7 +74,7 @@ limitations under the License.
|
|||||||
|
|
||||||
.mx_RoomTile_title {
|
.mx_RoomTile_title {
|
||||||
font: var(--cpd-font-body-md-regular);
|
font: var(--cpd-font-body-md-regular);
|
||||||
line-height: 1;
|
line-height: 1.25;
|
||||||
|
|
||||||
&.mx_RoomTile_titleHasUnreadEvents {
|
&.mx_RoomTile_titleHasUnreadEvents {
|
||||||
font-weight: var(--cpd-font-weight-semibold);
|
font-weight: var(--cpd-font-weight-semibold);
|
||||||
@ -81,7 +83,6 @@ limitations under the License.
|
|||||||
|
|
||||||
.mx_RoomTile_titleWithSubtitle {
|
.mx_RoomTile_titleWithSubtitle {
|
||||||
margin-top: -2px; /* shift the title up a bit more */
|
margin-top: -2px; /* shift the title up a bit more */
|
||||||
margin-bottom: 1px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user