mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
Fix room tile text clipping (#11196)
This commit is contained in:
parent
902263d7c9
commit
f32b9bab99
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue