0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

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
This commit is contained in:
Kevin Ansfield 2021-12-07 14:20:05 +00:00
parent 8db9bc9f2e
commit b464c69d54

View file

@ -249,14 +249,13 @@
justify-content: space-between; justify-content: space-between;
} }
.modal-footer button { .modal-footer .gh-btn {
margin-left: 12px;
min-width: 100px; min-width: 100px;
text-align: center; text-align: center;
} }
.modal-footer button:first-of-type { .modal-footer .gh-btn:not(:first-child) {
margin-left: 0; margin-left: 12px;
} }
.modal-footer-hint { .modal-footer-hint {