1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-10 07:55:24 +02:00

editor blocks margin fix, horisontal scroll fix

This commit is contained in:
Peter Savchenko 2022-09-15 21:33:06 +03:00
parent 5bbfd32621
commit c0d7f48910
No known key found for this signature in database
GPG key ID: E68306B1AB0F727C
3 changed files with 7 additions and 4 deletions

View file

@ -48,6 +48,10 @@
&-button { &-button {
margin-left: 20px; margin-left: 20px;
text-decoration: none; text-decoration: none;
@media (--mobile) {
margin-left: auto;
}
} }
} }

View file

@ -60,13 +60,12 @@
} }
@media (--tablet) { @media (--tablet) {
margin: 0 -8px;
display: none; display: none;
} }
@media (--mobile) { @media (--mobile) {
margin: 0 -8px;
display: none; display: none;
padding: var(--layout-padding-vertical) 7px;
} }
&--visible { &--visible {

View file

@ -148,7 +148,7 @@
* The common styles for the Page blocks as well as Editor blocks * The common styles for the Page blocks as well as Editor blocks
*/ */
--content-block { --content-block {
padding: 10px 0; margin: 20px 0;
} }
/** /**
@ -184,7 +184,7 @@
* Common styles for text headings (H2, H3, H4) * Common styles for text headings (H2, H3, H4)
*/ */
--text-header { --text-header {
margin: 18px 0 0; margin: 28px 0 0;
line-height: 1.35em; line-height: 1.35em;
} }