Skip to content

Commit

Permalink
fix: move .document-status css to DocumentStatus
Browse files Browse the repository at this point in the history
Signed-off-by: Max <max@nextcloud.com>
  • Loading branch information
max-nextcloud committed Jul 26, 2022
1 parent fc58cc6 commit 4d17d6c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 24 deletions.
24 changes: 0 additions & 24 deletions src/components/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -676,30 +676,6 @@ export default {
background-color: var(--color-main-background);
}

.document-status {
position: relative;
background-color: var(--color-main-background);

.msg {
padding: 12px;
background-position: 8px center;
color: var(--color-text-maxcontrast);

&.icon-error {
padding-left: 30px;
}

.button {
margin-left: 8px;
}

&.msg-locked .lock-icon {
padding: 0 10px;
float: left;
}
}
}

.text-editor .text-editor__wrapper.has-conflicts {
height: calc(100% - 50px);

Expand Down
26 changes: 26 additions & 0 deletions src/components/Editor/DocumentStatus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,29 @@ export default {

}
</script>

<style scoped lang="scss">
.document-status {
position: relative;
background-color: var(--color-main-background);

.msg {
padding: 12px;
background-position: 8px center;
color: var(--color-text-maxcontrast);

&.icon-error {
padding-left: 30px;
}

.button {
margin-left: 8px;
}

&.msg-locked .lock-icon {
padding: 0 10px;
float: left;
}
}
}
</style>

0 comments on commit 4d17d6c

Please sign in to comment.