From d2534d6645667b20d8cc7f5be39926cfae38fb2c Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Wed, 21 Jun 2023 14:59:48 +0200 Subject: [PATCH] Be more specific via `!important` than the default button rule This one should override the default one --- app/webpacker/css/admin/openfoodnetwork.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/webpacker/css/admin/openfoodnetwork.scss b/app/webpacker/css/admin/openfoodnetwork.scss index 176cc00c26..e396dd1802 100644 --- a/app/webpacker/css/admin/openfoodnetwork.scss +++ b/app/webpacker/css/admin/openfoodnetwork.scss @@ -254,7 +254,8 @@ text-angular { display: inline; margin-right: 8px; button { - padding: 5px 10px; + padding: 5px 10px !important; // Add `!important` to be more specific than the default button styles (app/webpacker/css/admin/components/buttons.scss) + // Hope this (text-angular) will be removed soon in order to use trix editor margin-right: 0.25em; } button.active:not(:hover) {