From 7b66d5ddf7de12c476af99e77af046808bbefbe8 Mon Sep 17 00:00:00 2001 From: szaimen Date: Mon, 12 Sep 2022 14:56:12 +0200 Subject: [PATCH] fix strange-looking button Signed-off-by: szaimen --- core/css/apps.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/css/apps.scss b/core/css/apps.scss index 6f22bf66d0c..ecec5023665 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -1163,6 +1163,7 @@ $outter-margin: math.div($popoveritem-height - $popovericon-size, 2); flex: 1 1 auto; /* put a small space between text and form if there is an element before */ + align-items: center; &:not(:first-child) { margin-left: 5px; } @@ -1196,7 +1197,7 @@ $outter-margin: math.div($popoveritem-height - $popovericon-size, 2); &:last-of-type { > button, > a, > .menuitem { > form, > input { - margin-bottom: $outter-margin - 2px; // minus the input margin + margin-bottom: 0px; } } }