mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-04 04:55:22 +02:00
fix(styles): editor styles improved (#268)
* editor blocks margin fix, horisontal scroll fix * make page and editor more similar
This commit is contained in:
parent
5bbfd32621
commit
2dd4873029
4 changed files with 44 additions and 23 deletions
|
@ -184,7 +184,7 @@
|
|||
* Common styles for text headings (H2, H3, H4)
|
||||
*/
|
||||
--text-header {
|
||||
margin: 18px 0 0;
|
||||
margin: 20px 0 0;
|
||||
line-height: 1.35em;
|
||||
}
|
||||
|
||||
|
@ -257,6 +257,27 @@
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Styles for the List block
|
||||
*/
|
||||
--text-list {
|
||||
margin: 0;
|
||||
list-style: outside;
|
||||
padding-left: 40px;
|
||||
|
||||
&--ordered {
|
||||
list-style-type: decimal
|
||||
}
|
||||
|
||||
li {
|
||||
padding: 0;
|
||||
|
||||
&:not(:last-of-type){
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue