Merge pull request #4514 from JorikSchellekens/joriks/font-scaling-fixes

Fix pill vertical align
This commit is contained in:
Bruno Windels 2020-04-29 10:07:44 +00:00 committed by GitHub
commit 8c28977c27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,13 +18,14 @@ a.mx_Pill {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
vertical-align: text-bottom;
max-width: calc(100% - 1ch);
}
.mx_Pill {
padding: $font-1px;
padding-right: 0.4em;
vertical-align: text-top;
line-height: $font-17px;
}
/* More specific to override `.markdown-body a` color */