From 9b8ee3cacfec239617c357693cf2a3ca9972d2cb Mon Sep 17 00:00:00 2001 From: dwelle Date: Sun, 5 Dec 2021 17:47:19 +0100 Subject: [PATCH] feat: horizontally center toolbar menu --- src/components/UserList.scss | 4 ++++ src/css/styles.scss | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/UserList.scss b/src/components/UserList.scss index 76987828..139d1b2d 100644 --- a/src/components/UserList.scss +++ b/src/components/UserList.scss @@ -7,6 +7,10 @@ display: flex; flex-wrap: wrap; justify-content: flex-end; + + &:empty { + display: none; + } } .UserList > * { diff --git a/src/css/styles.scss b/src/css/styles.scss index 5119ecb6..f6ee94b2 100644 --- a/src/css/styles.scss +++ b/src/css/styles.scss @@ -311,7 +311,7 @@ } .App-menu_top { - grid-template-columns: 1fr auto 1fr; + grid-template-columns: auto max-content auto; grid-gap: 4px; align-items: flex-start; cursor: default;