Skip to content

Commit d1963d2

Browse files
committed
fix: move .document-status css to DocumentStatus
Signed-off-by: Max <[email protected]>
1 parent c377b6a commit d1963d2

File tree

2 files changed

+26
-24
lines changed

2 files changed

+26
-24
lines changed

src/components/Editor.vue

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -676,30 +676,6 @@ export default {
676676
background-color: var(--color-main-background);
677677
}
678678
679-
.document-status {
680-
position: relative;
681-
background-color: var(--color-main-background);
682-
683-
.msg {
684-
padding: 12px;
685-
background-position: 8px center;
686-
color: var(--color-text-maxcontrast);
687-
688-
&.icon-error {
689-
padding-left: 30px;
690-
}
691-
692-
.button {
693-
margin-left: 8px;
694-
}
695-
696-
&.msg-locked .lock-icon {
697-
padding: 0 10px;
698-
float: left;
699-
}
700-
}
701-
}
702-
703679
.text-editor .text-editor__wrapper.has-conflicts {
704680
height: calc(100% - 50px);
705681

src/components/Editor/DocumentStatus.vue

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,29 @@ export default {
8888
8989
}
9090
</script>
91+
92+
<style scoped lang="scss">
93+
.document-status {
94+
position: relative;
95+
background-color: var(--color-main-background);
96+
97+
.msg {
98+
padding: 12px;
99+
background-position: 8px center;
100+
color: var(--color-text-maxcontrast);
101+
102+
&.icon-error {
103+
padding-left: 30px;
104+
}
105+
106+
.button {
107+
margin-left: 8px;
108+
}
109+
110+
&.msg-locked .lock-icon {
111+
padding: 0 10px;
112+
float: left;
113+
}
114+
}
115+
}
116+
</style>

0 commit comments

Comments
 (0)