Skip to content

Commit

Permalink
fix(app): p new line error, fix scroll invail
Browse files Browse the repository at this point in the history
  • Loading branch information
LincZero committed Feb 25, 2025
1 parent f3adf53 commit af4b5bd
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/App/src/components/MarkdownViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@ onMounted(()=>{
<div class="ab-app-render" ref="ref_markdownViewer"></div>
</template>

<style lang="scss" scoped>
.ab-app-render {
box-sizing: border-box;
height: 100%;
width: 100%;
margin: 0;
padding: 10px 20px 500px;
overflow: auto;
}
</style>

<style lang="scss">
.ab-app-render {
/* ob和vuepress版本外面有一层,但这里没有,要给间距 */
Expand Down Expand Up @@ -63,7 +75,7 @@ onMounted(()=>{
color: #ffc078;
}
p {
display: inline;
display: block;
}
strong {
color: red;
Expand Down

0 comments on commit af4b5bd

Please sign in to comment.