banners: Fix banner action buttons vertical alignment.

(cherry picked from commit 5f0a55544b)
This commit is contained in:
Sayam Samal
2025-03-22 02:22:14 +05:30
committed by Tim Abbott
parent b7919e1957
commit 260c56ab0c

View File

@@ -40,6 +40,11 @@
grid-area: banner-action-buttons;
display: flex;
gap: 0.5em; /* 8px at 16px/1em */
/* This margin is required to align the banner action
buttons vertically, since we cannot use flexbox
center alignment as we also need to account for the
UI when the banner has a muli-line label. */
margin: 0.0625em 0; /* 1px at 16px/1em */
margin-left: 0.625em; /* 10px at 16px/1em */
}