Skip to content

Commit

Permalink
Fix save-state indicator appearance. (#34947)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen authored Sep 20, 2021
1 parent 2449a3a commit 3bcbef2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/editor/src/components/post-saved-state/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
overflow: hidden;
white-space: nowrap;

// The disabled version of the save state should be legible as an indicator.
&.is-saved[aria-disabled="true"],
&.is-saved[aria-disabled="true"]:hover {
background: transparent;
color: $gray-700;
}

svg {
display: inline-block;
flex: 0 0 auto;
Expand All @@ -20,7 +27,7 @@
text-indent: inherit;

svg {
margin-right: $grid-unit-05;
margin-right: 0;
}
}
}

0 comments on commit 3bcbef2

Please sign in to comment.