Be more specific via !important than the default button rule

This one should override the default one
This commit is contained in:
Jean-Baptiste Bellet
2023-06-21 14:59:48 +02:00
parent 7d9018c590
commit d2534d6645

View File

@@ -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) {