Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d262d44

Browse filesBrowse files
committed
样式调整代码强制换行
1 parent b796a74 commit d262d44
Copy full SHA for d262d44

1 file changed

+16-4Lines changed: 16 additions & 4 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎template/styl/mixins/markdown.styl‎

Copy file name to clipboardExpand all lines: template/styl/mixins/markdown.styl
+16-4Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,19 @@ div.markdown-body
9090
ul ul ol, ul ol ol, ol ul ol, ol ol ol
9191
list-style-type lower-alpha
9292
pre
93-
padding 1em
94-
overflow auto
93+
overflow: auto
94+
padding: 1em
95+
margin-top: 1.5em
96+
margin-bottom: 1.5em
97+
line-height: 1.3
98+
word-break: break-all
99+
word-wrap: break-word
100+
color: rgb(51, 51, 51)
101+
border: none
102+
max-height: 35em
103+
position: relative
95104
background-color #f7f7f9
96105
border-radius 3px
97-
word-break break-all
98-
word-wrap break-word
99106
font "Source Code Pro", Consolas, Menlo, Monaco, "Courier New", monospace
100107
font-size 0.93em
101108
-webkit-overflow-scrolling touch
@@ -105,6 +112,11 @@ div.markdown-body
105112
line-height 1.4
106113
display block
107114
font-size 1em
115+
box-sizing: border-box
116+
border-radius: 0px
117+
white-space: inherit
118+
overflow-wrap: normal
119+
word-wrap:normal!important
108120
// code:before,code:after,tt:before,tt:after
109121
// letter-spacing 0
110122
// content ""

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.