Skip to content

Commit 2bd99ee

Browse files
committed
🐛 fix vditor content & console.log
1 parent af9f7e8 commit 2bd99ee

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/pages/Main.vue

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ export default {
2424
},
2525
2626
created() {
27+
console.log(
28+
'%c 倾城之链:倾心缔造,痴心为你。 https://nicelinks.site/',
29+
'font-size:2.113em;color: #2edfa3'
30+
)
2731
this.setDefaultText()
32+
console.log = () => {}
2833
},
2934
3035
components: {
@@ -119,6 +124,10 @@ export default {
119124
height: calc(100vh - 100px);
120125
margin: 20px auto;
121126
text-align: left;
127+
.vditor-content {
128+
height: auto;
129+
min-height: auto;
130+
}
122131
}
123132
.vditor-reset {
124133
font-size: 14px;
@@ -133,7 +142,7 @@ export default {
133142
.index-page {
134143
.vditor {
135144
height: calc(100vh - 60px);
136-
padding: auto 10px;
145+
padding: 10px;
137146
margin: 0px auto;
138147
}
139148
}

0 commit comments

Comments
 (0)