Merge pull request #4877 from matrix-org/travis/room-list/dot-badge-align

Fix alignment of dot badges in new room list
This commit is contained in:
Travis Ralston 2020-07-02 14:38:45 -06:00 committed by GitHub
commit e013597e26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,6 +83,10 @@ limitations under the License.
// don't set width so that it takes no space when there is no badge to show // don't set width so that it takes no space when there is no badge to show
margin: auto 0; // vertically align margin: auto 0; // vertically align
// Create a flexbox to make aligning dot badges easier
display: flex;
align-items: center;
.mx_NotificationBadge { .mx_NotificationBadge {
margin-right: 2px; // centering margin-right: 2px; // centering
} }