Skip to content

Commit

Permalink
Publish flow Close button improvements (#20779)
Browse files Browse the repository at this point in the history
fixes
https://linear.app/tryghost/issue/DES-682/close-button-improvements

Small updates to the modal in the new Publish flow. Improved margins and
opacity for legibility.
  • Loading branch information
dvdwinden authored Aug 19, 2024
1 parent 2f76847 commit f864bde
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions ghost/admin/app/styles/components/publishmenu.css
Original file line number Diff line number Diff line change
Expand Up @@ -983,18 +983,25 @@
fill: black;
}

.modal-post-success .close {
top: 24px;
right: 24px;
}

.modal-post-success:has(.modal-image) .close {
display: flex;
justify-content: center;
align-items: center;
width: 32px;
height: 32px;
background-color: rgba(0, 0, 0, 0.2);
top: 16px;
right: 16px;
background-color: rgba(0, 0, 0, 0.4);
border-radius: 50%;
}

.modal-post-success:has(.modal-image) .close:hover {
background-color: rgba(0, 0, 0, 0.25);
background-color: rgba(0, 0, 0, 0.3);
}

.modal-post-success:has(.modal-image) .close svg {
Expand Down

0 comments on commit f864bde

Please sign in to comment.