mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05: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
4 changed files with 9 additions and 5 deletions
|
@ -31,7 +31,7 @@
|
||||||
@buttonText="Save"
|
@buttonText="Save"
|
||||||
@task={{@data.saveTask}}
|
@task={{@data.saveTask}}
|
||||||
@runningText="Saving"
|
@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 />
|
data-test-preview-contributor-save />
|
||||||
{{else}}
|
{{else}}
|
||||||
<button
|
<button
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
@buttonText="Save"
|
@buttonText="Save"
|
||||||
@task={{this.saveTask}}
|
@task={{this.saveTask}}
|
||||||
@runningText="Saving"
|
@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" />
|
data-test-button="contributor-save" />
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#if @post.isDraft}}
|
{{#if @post.isDraft}}
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
<GhTaskButton
|
<GhTaskButton
|
||||||
@task={{this.saveTask}}
|
@task={{this.saveTask}}
|
||||||
@runningText="Saving..."
|
@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"
|
@idleClass="green"
|
||||||
@runningClass="midlightgrey"
|
@runningClass="midlightgrey"
|
||||||
@successClass="midlightgrey"
|
@successClass="midlightgrey"
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
.settings-menu-toggle {
|
.settings-menu-toggle {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 31px;
|
top: 30px;
|
||||||
right: 24px;
|
right: 24px;
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
margin-right: 0 !important;
|
margin-right: 0 !important;
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-menu-toggle-spacer {
|
.settings-menu-toggle-spacer {
|
||||||
width: 40px;
|
width: 46px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1024px) {
|
@media (max-width: 1024px) {
|
||||||
|
|
|
@ -625,6 +625,10 @@ body[data-user-is-dragging] .gh-editor-feature-image-dropzone {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gh-editor-save-trigger {
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.gh-editor-preview-trigger {
|
.gh-editor-preview-trigger {
|
||||||
background: var(--white);
|
background: var(--white);
|
||||||
font-size: 1.35rem;
|
font-size: 1.35rem;
|
||||||
|
|
Loading…
Add table
Reference in a new issue