Skip to content

Commit

Permalink
Post saved draft button: overwrite default button component margin (#…
Browse files Browse the repository at this point in the history
…40834)

* Overwrite default button component margin

* Fixing RTL text justification
  • Loading branch information
ramonjd authored May 11, 2022
1 parent dd6e846 commit 9d23644
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/editor/src/components/post-saved-state/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,12 @@
}
}
}

// Overwrite rules from Button component packages/components/src/button/style.scss
.editor-post-save-draft.has-text.has-icon svg {
margin-right: 0;
}

:root[dir="rtl"] .editor-post-saved-state.has-text.has-icon {
justify-content: right;
}

0 comments on commit 9d23644

Please sign in to comment.