-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Expand file tree
/
Copy pathstyle.scss
More file actions
43 lines (38 loc) · 948 Bytes
/
style.scss
File metadata and controls
43 lines (38 loc) · 948 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
35
36
37
38
39
40
41
42
43
@use "@wordpress/base-styles/mixins" as *;
@use "@wordpress/base-styles/variables" as *;
@use "@wordpress/base-styles/z-index" as *;
.page-templates-preview-field {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100%;
width: 100%;
border-radius: $radius-medium;
.dataviews-view-list & {
.block-editor-block-preview__container {
height: 120px;
}
}
.dataviews-view-grid & {
.block-editor-block-preview__container {
height: 100%;
}
}
.dataviews-view-table & {
position: relative;
width: 120px;
max-height: 160px;
text-wrap: balance; // Fallback for Safari.
text-wrap: pretty;
}
}
.edit-site-list__rename-modal {
// The rename dropdown popover is open at the same time as the rename modal. The latter has to be higher.
z-index: z-index(".edit-site-list__rename-modal");
.components-base-control {
@include break-medium() {
width: $grid-unit * 40;
}
}
}