From 01f7af357df22da246e654fd0475ed16d2077ab5 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Mon, 8 Aug 2022 17:55:43 +0200 Subject: [PATCH] Fix button style regression Signed-off-by: Alexis Sellier --- public/index.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/index.css b/public/index.css index 8f8539511..26149b924 100644 --- a/public/index.css +++ b/public/index.css @@ -177,9 +177,11 @@ button { border: 1px solid var(--color-foreground-6); border-radius: var(--border-radius); cursor: pointer; - min-width: 8rem; + min-width: 6rem; + height: var(--button-regular-height); display: inline-flex; align-items: center; + justify-content: center; } button:not([disabled]):hover { color: var(--color-background); @@ -326,6 +328,7 @@ label.input { border-color: var(--color-negative); } .modal.error .modal-actions button:hover { + color: var(--color-background); background-color: var(--color-negative); } @@ -463,6 +466,7 @@ span.small, .text-xsmall { } button.error:hover { + color: var(--color-background); background-color: var(--color-negative); }