Skip to content

Commit

Permalink
🐛 fix vditor content & console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
nicejade committed Jun 7, 2022
1 parent af9f7e8 commit 2bd99ee
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/pages/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ export default {
},

created() {
console.log(
'%c 倾城之链:倾心缔造,痴心为你。 https://nicelinks.site/',
'font-size:2.113em;color: #2edfa3'
)
this.setDefaultText()
console.log = () => {}
},

components: {
Expand Down Expand Up @@ -119,6 +124,10 @@ export default {
height: calc(100vh - 100px);
margin: 20px auto;
text-align: left;
.vditor-content {
height: auto;
min-height: auto;
}
}
.vditor-reset {
font-size: 14px;
Expand All @@ -133,7 +142,7 @@ export default {
.index-page {
.vditor {
height: calc(100vh - 60px);
padding: auto 10px;
padding: 10px;
margin: 0px auto;
}
}
Expand Down

0 comments on commit 2bd99ee

Please sign in to comment.