Skip to content

Commit 3dee628

Browse files
committed
Improved spacing of the publish page on small screens
fixes #24898 This PR improves the right spacing of the publish page header, by making it proportional to the left one. It also ensures that the "Back to settings" secondary CTA does not overflow horizontally on very narrow viewports.
1 parent 635e3dc commit 3dee628

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

ghost/admin/app/styles/components/publishmenu.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,7 @@
231231
align-items: center;
232232
height: 64px;
233233
margin: 0;
234-
padding: 0;
235-
padding-left: 15px;
234+
padding: 0 15px;
236235
background-color: var(--white);
237236
border-radius: 0;
238237
}
@@ -649,8 +648,8 @@
649648

650649
.gh-publish-cta {
651650
display: flex;
652-
width: max-content;
653651
gap: 3.2rem;
652+
width: 100%;
654653
}
655654

656655
.gh-publish-cta .gh-btn {

0 commit comments

Comments
 (0)