Fix alignment of dot badges in new room list

pull/21833/head
Travis Ralston 2020-07-02 13:39:20 -06:00
parent 9fec5c98af
commit 7ea3164507
1 changed files with 4 additions and 0 deletions

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
} }