mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
Fixed the button positions and spacings for the Publish, Save and Sidebar icons in the editor
no issue
This commit is contained in:
parent
a4df422249
commit
2f85bd6ea4
@ -31,7 +31,7 @@
|
||||
@buttonText="Save"
|
||||
@task={{@data.saveTask}}
|
||||
@runningText="Saving"
|
||||
@class="gh-btn gh-btn-icon gh-btn-editor contributor-save-button"
|
||||
@class="gh-btn gh-btn-icon gh-btn-editor gh-editor-save-trigger contributor-save-button"
|
||||
data-test-preview-contributor-save />
|
||||
{{else}}
|
||||
<button
|
||||
|
@ -15,7 +15,7 @@
|
||||
@buttonText="Save"
|
||||
@task={{this.saveTask}}
|
||||
@runningText="Saving"
|
||||
@class="gh-btn gh-btn-icon gh-btn-editor contributor-save-button"
|
||||
@class="gh-btn gh-btn-icon gh-btn-editor gh-editor-save-trigger contributor-save-button"
|
||||
data-test-button="contributor-save" />
|
||||
{{else}}
|
||||
{{#if @post.isDraft}}
|
||||
@ -44,7 +44,7 @@
|
||||
<GhTaskButton
|
||||
@task={{this.saveTask}}
|
||||
@runningText="Saving..."
|
||||
@class="gh-btn gh-btn-editor gh-publish-trigger"
|
||||
@class="gh-btn gh-btn-editor gh-editor-save-trigger gh-publish-trigger"
|
||||
@idleClass="green"
|
||||
@runningClass="midlightgrey"
|
||||
@successClass="midlightgrey"
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
.settings-menu-toggle {
|
||||
position: absolute;
|
||||
top: 31px;
|
||||
top: 30px;
|
||||
right: 24px;
|
||||
z-index: 9999;
|
||||
margin-right: 0 !important;
|
||||
@ -34,7 +34,7 @@
|
||||
}
|
||||
|
||||
.settings-menu-toggle-spacer {
|
||||
width: 40px;
|
||||
width: 46px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
|
@ -625,6 +625,10 @@ body[data-user-is-dragging] .gh-editor-feature-image-dropzone {
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.gh-editor-save-trigger {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.gh-editor-preview-trigger {
|
||||
background: var(--white);
|
||||
font-size: 1.35rem;
|
||||
|
Loading…
Reference in New Issue
Block a user