mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
remove the width constraints in markdown rendering
Signed-off-by: Le Tan <tamlokveer@gmail.com>
This commit is contained in:
parent
901c477705
commit
11bb7b4df9
@ -3,7 +3,6 @@ body{
|
|||||||
font-family: Georgia, Palatino, serif;
|
font-family: Georgia, Palatino, serif;
|
||||||
color: #444444;
|
color: #444444;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
max-width: 960px;
|
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
}
|
}
|
||||||
h1, h2, h3, h4 {
|
h1, h2, h3, h4 {
|
||||||
@ -58,11 +57,9 @@ li ul, li ul {
|
|||||||
p, ul, ol {
|
p, ul, ol {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
max-width: 800px;
|
|
||||||
}
|
}
|
||||||
pre {
|
pre {
|
||||||
padding: 0px 24px;
|
padding: 0px 24px;
|
||||||
max-width: 800px;
|
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
background-color: #f8f8f8;
|
background-color: #f8f8f8;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
@ -93,7 +90,6 @@ blockquote {
|
|||||||
border-left:.5em solid #eee;
|
border-left:.5em solid #eee;
|
||||||
padding: 0 2em;
|
padding: 0 2em;
|
||||||
margin-left:0;
|
margin-left:0;
|
||||||
max-width: 600;
|
|
||||||
}
|
}
|
||||||
blockquote cite {
|
blockquote cite {
|
||||||
font-size:14px;
|
font-size:14px;
|
||||||
@ -106,10 +102,8 @@ blockquote cite:before {
|
|||||||
|
|
||||||
blockquote p {
|
blockquote p {
|
||||||
color: #666;
|
color: #666;
|
||||||
max-width: 590px;
|
|
||||||
}
|
}
|
||||||
hr {
|
hr {
|
||||||
width: 800;
|
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin: 0 auto 0 0;
|
margin: 0 auto 0 0;
|
||||||
color: #999;
|
color: #999;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user