-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy patheditor-layout.scss
More file actions
34 lines (26 loc) · 891 Bytes
/
Copy patheditor-layout.scss
File metadata and controls
34 lines (26 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
@import "partials/base";
.editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper > *,
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > * {
.full-width-content &,
.block-area-before-footer & {
max-width: var(--wp--custom--layout--wide);
}
.block-area-sidebar & {
max-width: var(--wp--custom--layout--sidebar);
}
.block-area-after-post &,
.block-area-before-recipe & {
max-width: var(--wp--custom--layout--content);
}
&.alignfull {
margin-left: calc( -1 * var(--wp--custom--layout--padding) ) !important;
margin-right: calc( -1 * var(--wp--custom--layout--padding) ) !important;
}
}
.editor-styles-wrapper {
padding-left: var(--wp--custom--layout--padding);
padding-right: var(--wp--custom--layout--padding);
}
body.full-width-content .editor-styles-wrapper {
--wp--custom--layout--page: var(--wp--custom--layout--wide);
}