mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-23 15:19:41 +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
|
@ -58,13 +58,17 @@
|
|||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.ce-paragraph a {
|
||||
@apply --text-inline-link;
|
||||
.ce-paragraph {
|
||||
line-height: inherit;
|
||||
|
||||
a {
|
||||
@apply --text-inline-link;
|
||||
}
|
||||
}
|
||||
|
||||
.ce-header {
|
||||
@apply --text-header;
|
||||
padding: 0;
|
||||
padding: 0 0 10px;
|
||||
}
|
||||
|
||||
h2.ce-header {
|
||||
|
@ -75,10 +79,6 @@
|
|||
@apply --text-header-3;
|
||||
}
|
||||
|
||||
.cdx-block {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.inline-code {
|
||||
@apply --text-inline-code;
|
||||
}
|
||||
|
@ -92,7 +92,11 @@
|
|||
}
|
||||
|
||||
.cdx-list {
|
||||
padding-left: 40px;
|
||||
@apply --text-list;
|
||||
|
||||
&__item {
|
||||
line-height: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
@media (--desktop) {
|
||||
|
@ -107,7 +111,7 @@
|
|||
@apply --text-content-title;
|
||||
}
|
||||
|
||||
.ce-block {
|
||||
.cdx-block {
|
||||
@apply --content-block;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue