Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: move .document-status css to DocumentStatus
Signed-off-by: Max <[email protected]>
  • Loading branch information
max-nextcloud committed Jul 29, 2022
commit 4f58e4ccb626a81a4fa32467aae02ee163ed37e3
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>