Merge pull request #4877 from matrix-org/travis/room-list/dot-badge-align
Fix alignment of dot badges in new room listpull/21833/head
commit
e013597e26
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue