Skip to content

Commit

Permalink
UI
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed Jun 28, 2023
1 parent 81e4c92 commit 555a1d4
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 4 deletions.
30 changes: 28 additions & 2 deletions web_src/src/components/common/Editormd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
.markdown-body {
font-size: 13px;
line-height:1.75;
}
.markdown-body h1 {
Expand Down Expand Up @@ -42,8 +43,7 @@
}
.markdown-body table thead tr {
background-color: #343a40;
color: #fff;
background-color: rgba(64, 158, 255, 0.1);
}
.markdown-body pre {
Expand Down Expand Up @@ -111,6 +111,32 @@
.editormd-preview-close-btn {
display: none !important;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
margin-bottom: 1.5em;
line-height: 1.75;
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-bottom: 1.5em;
}
.markdown-body dl dd {
margin-bottom: 1.5em;
}
.markdown-body .highlight {
margin-bottom: 1.5em;
}
</style>
<script>
import BigImg from '@/components/common/BigImg'
Expand Down
4 changes: 3 additions & 1 deletion web_src/src/components/item/show/show_regular_item/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,9 @@ export default {
docTitle.style.marginTop = '0px'
this.showToc = false
var leftMenuBottomBar = document.getElementById('left-menu-bottom-bar')
leftMenuBottomBar.style.display = 'none'
if (leftMenuBottomBar) {
leftMenuBottomBar.style.display = 'none'
}
},
// 响应式
adaptScreen() {
Expand Down
2 changes: 1 addition & 1 deletion web_src/static/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body {
background-color: rgb(250, 250, 250);
}
#app {
font: 13px/1.5 'Microsoft Yahei', 微软雅黑, Tahoma, Arial, Helvetica, STHeiti;
font: 13px/1.75 'Microsoft Yahei', 微软雅黑, Tahoma, Arial, Helvetica, STHeiti;
color: #343A40;
}

Expand Down

0 comments on commit 555a1d4

Please sign in to comment.