Skip to content

Commit

Permalink
fix: style of app
Browse files Browse the repository at this point in the history
  • Loading branch information
YangFong committed Aug 27, 2023
1 parent 2c9f31e commit f7cdc8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import 'codemirror/lib/codemirror.css'
import 'codemirror/theme/xq-light.css'

/* 每个页面公共css */
import './assets/less/app.less'
import './assets/less/theme.less'
import './assets/less/style-mirror.less'

Expand Down
4 changes: 4 additions & 0 deletions src/views/CodemirrorEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,10 @@ export default {
}
</script>

<style lang="less" scoped>
@import url('../assets/less/app.less');
</style>

<style lang="less" scoped>
.editor__header {
padding: 0;
Expand Down

0 comments on commit f7cdc8b

Please sign in to comment.