style(next): forms: fix tool buttons wrapped inside button groups

This commit is contained in:
Adorian Doran 2025-02-23 17:01:32 +02:00
parent 1dfa4a8bc2
commit 12f7119427

View File

@ -79,7 +79,9 @@ button.btn.btn-success kbd {
*/ */
:root .icon-action:not(.global-menu-button), :root .icon-action:not(.global-menu-button),
:root .tn-tool-button { :root .tn-tool-button,
:root .btn-group .tn-tool-button:not(:last-child),
:root .btn-group .tn-tool-button:last-child {
width: var(--icon-button-size); width: var(--icon-button-size);
height: var(--icon-button-size); height: var(--icon-button-size);
border: unset !important; border: unset !important;
@ -89,6 +91,10 @@ button.btn.btn-success kbd {
color: var(--icon-button-color); color: var(--icon-button-color);
} }
.btn-group .tn-tool-button + .tn-tool-button {
margin-left: 4px !important;
}
/* The "x" icon button */ /* The "x" icon button */
:root .icon-action.bx-x, :root .icon-action.bx-x,
:root .tn-tool-button.bx-x { :root .tn-tool-button.bx-x {