Fix pill vertical align

pull/21833/head
Jorik Schellekens 2020-04-29 10:57:35 +01:00
parent 66067719f4
commit 2e7ccf6e7a
1 changed files with 2 additions and 1 deletions

View File

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