-
Notifications
You must be signed in to change notification settings - Fork 384
/
Copy pathedit.css
70 lines (58 loc) · 1.79 KB
/
edit.css
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
.wp-block[data-type="amp/amp-story-text"] p {
margin: 0;
}
/**
* See https://github.com/ampproject/amp-wp/issues/2219.
*/
.wp-block-amp-story-text .block-editor-rich-text__editable {
padding: 7px !important;
width: 100%;
}
.is-not-editing .wp-block-amp-amp-story-text.block-editor-rich-text__editable.editor-rich-text__editable {
cursor: grab;
}
.wp-block-amp-story-text-wrapper.is-empty-draggable-text,
.wp-block-amp-story-text-wrapper:not(.with-line-height) {
height: 100%;
}
.wp-block-amp-story-text-wrapper .amp-overlay {
height: 100%;
width: 100%;
z-index: 1000;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.wp-block-amp-story-text-wrapper.is-empty-draggable-text .amp-text-placeholder {
opacity: 0.62;
}
.editor-styles-wrapper #amp-story-editor .wp-block .wp-block[data-type="amp/amp-story-text"] {
width: initial;
}
.wp-block[data-type="amp/amp-story-text"] .block-editor-rich-text__editable,
div[data-type="amp/amp-story-page"] .block-editor-inner-blocks .block-editor-block-list__block-edit {
display: inline-block;
}
.with-line-height .wp-block-amp-story-text {
position: relative;
}
.wp-block[data-type="amp/amp-story-text"] .wp-block-amp-story-text .is-amp-fit-text {
display: inline-block;
vertical-align: middle;
line-height: 1.15;
}
.wp-block[data-type="amp/amp-story-text"] .wp-block-amp-story-text .is-amp-fit-text.is-measuring {
height: initial !important;
width: initial !important;
position: absolute !important;
}
.editor-block-list__layout .wp-block[data-type="amp/amp-story-text"] .editor-block-list__block-edit::before {
position: absolute;
}
.wp-block[data-type="amp/amp-story-text"] .amp-story-editor__rotate-container,
.wp-block[data-type="amp/amp-story-text"] .block-mover,
.wp-block[data-type="amp/amp-story-text"] .block-mover div {
height: 100%;
}