From 3bcbef29fbd42a1377338e94d42e60f5e6cf9028 Mon Sep 17 00:00:00 2001 From: Joen A <1204802+jasmussen@users.noreply.github.com> Date: Mon, 20 Sep 2021 11:10:16 +0200 Subject: [PATCH] Fix save-state indicator appearance. (#34947) --- .../editor/src/components/post-saved-state/style.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/editor/src/components/post-saved-state/style.scss b/packages/editor/src/components/post-saved-state/style.scss index 71bace378fcbf8..7e0cf8148c38e7 100644 --- a/packages/editor/src/components/post-saved-state/style.scss +++ b/packages/editor/src/components/post-saved-state/style.scss @@ -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; @@ -20,7 +27,7 @@ text-indent: inherit; svg { - margin-right: $grid-unit-05; + margin-right: 0; } } }