mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-25 16:31:37 +02:00
Merge pull request #4514 from JorikSchellekens/joriks/font-scaling-fixes
Fix pill vertical align
This commit is contained in:
commit
8c28977c27
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user