Merge pull request #4958 from matrix-org/joriks/room-list-badges-font-scaling

Fix badges for font size 20
This commit is contained in:
Jorik Schellekens 2020-07-13 19:05:56 +01:00 committed by GitHub
commit 63cbb3b635
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,15 +48,15 @@ limitations under the License.
} }
&.mx_NotificationBadge_2char { &.mx_NotificationBadge_2char {
width: 16px; width: $font-16px;
height: 16px; height: $font-16px;
border-radius: 16px; border-radius: $font-16px;
} }
&.mx_NotificationBadge_3char { &.mx_NotificationBadge_3char {
width: 26px; width: $font-26px;
height: 16px; height: $font-16px;
border-radius: 16px; border-radius: $font-16px;
} }
// The following is the floating badge // The following is the floating badge