You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Merge pull request #4514 from JorikSchellekens/joriks/font-scaling-fixes
Fix pill vertical align
This commit is contained in:
@@ -18,13 +18,14 @@ a.mx_Pill {
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
vertical-align: text-bottom;
|
|
||||||
max-width: calc(100% - 1ch);
|
max-width: calc(100% - 1ch);
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Pill {
|
.mx_Pill {
|
||||||
padding: $font-1px;
|
padding: $font-1px;
|
||||||
padding-right: 0.4em;
|
padding-right: 0.4em;
|
||||||
|
vertical-align: text-top;
|
||||||
|
line-height: $font-17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* More specific to override `.markdown-body a` color */
|
/* More specific to override `.markdown-body a` color */
|
||||||
|
|||||||
Reference in New Issue
Block a user