diff --git a/src/components/Editor.vue b/src/components/Editor.vue index 8a742cabba4..f5a2d2db77d 100644 --- a/src/components/Editor.vue +++ b/src/components/Editor.vue @@ -54,12 +54,16 @@ + :loaded.sync="menubarLoaded" + :relative-path="relativePath"> + :has-connection-issue="hasConnectionIssue" + :last-saved-string="lastSavedString" /> + - -

- {{ t('text', 'Last saved') }}: {{ lastSavedString }} -

- -
@@ -147,8 +141,26 @@ export default { } .save-status { - border-radius: 50%; - color: var(--color-text-lighter); + --color-text-white: white; + display: inline-flex; + padding: 0; + text-overflow: ellipsis; + color: var(--color-text-white); + position: relative; + top: 9px; + min-width: 85px; + max-height: 36px; + + &.error { + background-color: var(--color-error); + color: var(--color-main-background); + border-radius: 3px; + } + } + + +