Fix the look of pills (#8545)

* Fix the look of pills

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix comment

Co-authored-by: Robin <robin@robin.town>

Co-authored-by: Robin <robin@robin.town>
This commit is contained in:
Šimon Brandner 2022-05-10 07:00:35 +02:00 committed by GitHub
parent 8add540f27
commit c1579f765a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ limitations under the License.
*/
.mx_Pill {
padding: $font-1px 0.4em $font-1px 0;
padding: $font-1px 0.4em $font-1px 0.4em;
line-height: $font-17px;
border-radius: $font-16px;
vertical-align: text-top;
@ -47,6 +47,7 @@ limitations under the License.
}
.mx_BaseAvatar {
margin-left: -0.3em; // Otherwise the gap is too large
position: relative;
display: inline-flex;
align-items: center;