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

Fix pill vertical align
pull/21833/head
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
1 changed files with 2 additions and 1 deletions

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 */