-
Notifications
You must be signed in to change notification settings - Fork 4.3k
/
Copy patheditor.scss
45 lines (40 loc) · 1.06 KB
/
editor.scss
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
35
36
37
38
39
40
41
42
43
44
45
.block-library-query-toolbar__popover .components-popover__content {
min-width: 230px;
}
.wp-block-query__create-new-link {
padding: 0 $grid-unit-20 $grid-unit-20 56px;
}
.block-library-query__pattern-selection-content .block-editor-block-patterns-list {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: $grid-unit-10;
.block-editor-block-patterns-list__list-item {
margin-bottom: 0;
.block-editor-block-preview__container {
max-height: 250px;
}
}
}
.block-editor-query-pattern__selection-modal .components-modal__content {
overflow: hidden;
padding: 0;
&::before {
margin-bottom: 0;
}
}
.block-editor-query-pattern__selection-modal {
// To keep modal dimensions consistent as subsections are navigated, width
// and height are used instead of max-(width/height).
@include break-small() {
width: calc(100% - #{ $grid-unit-20 * 2 });
height: calc(100% - #{ $header-height * 2 });
}
@include break-medium() {
width: $break-medium - $grid-unit-20 * 2;
}
@include break-large() {
height: 80%;
width: 80%;
max-height: none;
}
}