mirror of
https://github.com/documize/community.git
synced 2025-07-23 23:29:42 +02:00
Make WYSIWYG font size & line height to REM
End of pixels @harveykandola
This commit is contained in:
parent
e35639502d
commit
eb9501014d
2 changed files with 21 additions and 6 deletions
|
@ -36,7 +36,6 @@ func Register(rt *env.Runtime, s *store.Store) {
|
|||
provider.Register("code", &code.Provider{Runtime: rt, Store: s})
|
||||
provider.Register("jira", &jira.Provider{Runtime: rt, Store: s})
|
||||
provider.Register("gemini", &gemini.Provider{Runtime: rt, Store: s})
|
||||
// provider.Register("github", &github.Provider{Runtime: rt, Store: s})
|
||||
provider.Register("markdown", &markdown.Provider{Runtime: rt, Store: s})
|
||||
provider.Register("papertrail", &papertrail.Provider{Runtime: rt, Store: s})
|
||||
provider.Register("tabular", &tabular.Provider{Runtime: rt, Store: s})
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
.wysiwyg {
|
||||
font-size: 15px;
|
||||
line-height: 20px;
|
||||
font-size: 1rem;;
|
||||
line-height: 1.5rem;
|
||||
color: $color-black-light-1;
|
||||
|
||||
table {
|
||||
|
@ -31,20 +31,31 @@
|
|||
ul {
|
||||
margin: 15px 0;
|
||||
padding: 0 0 0 40px;
|
||||
line-height: 20px;
|
||||
// line-height: 20px;
|
||||
line-height: 1.8rem;
|
||||
}
|
||||
|
||||
ol {
|
||||
li {
|
||||
// list-style-type: decimal;
|
||||
line-height: 20px;
|
||||
// line-height: 20px;
|
||||
line-height: 1.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
li {
|
||||
// list-style-type: disc;
|
||||
line-height: 20px;
|
||||
// line-height: 20px;
|
||||
line-height: 1.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: 1.5rem;
|
||||
|
||||
> code {
|
||||
line-height: 1.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -83,6 +94,7 @@
|
|||
@include border-radius(3px);
|
||||
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
||||
color: map-get($gray-shades, 800);
|
||||
margin: 1.5rem 0;
|
||||
|
||||
> code {
|
||||
background-color: transparent;
|
||||
|
@ -95,6 +107,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
pre[class*="language-"] {
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
background-color: map-get($gray-shades, 100);
|
||||
border-left: 7px solid map-get($gray-shades, 200);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue