From b464c69d5496b80feea0731d900d455634f96d8c Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Tue, 7 Dec 2021 14:20:05 +0000 Subject: [PATCH] Fixed modal footer button styles when buttons and links are mixed no issue - when buttons and button-like links were mixed in a modal footer, the link did not inherit the expected button styles and if the link followed a button the two became smushed together because of missing left margins --- ghost/admin/app/styles/components/modals-new.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ghost/admin/app/styles/components/modals-new.css b/ghost/admin/app/styles/components/modals-new.css index 6fb13632a2..c11c7cb5b8 100644 --- a/ghost/admin/app/styles/components/modals-new.css +++ b/ghost/admin/app/styles/components/modals-new.css @@ -249,14 +249,13 @@ justify-content: space-between; } -.modal-footer button { - margin-left: 12px; +.modal-footer .gh-btn { min-width: 100px; text-align: center; } -.modal-footer button:first-of-type { - margin-left: 0; +.modal-footer .gh-btn:not(:first-child) { + margin-left: 12px; } .modal-footer-hint {