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:
commit
e013597e26
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue