@secretstache/wordpress-gutenberg 0.4.11 → 0.4.13
Sign up to get free protection for your applications and to get access to all the features.
- package/build/styles.css +21 -18
- package/package.json +1 -1
- package/src/styles/_link-control.scss +6 -0
- package/src/styles/styles.scss +1 -1
package/build/styles.css
CHANGED
@@ -154,6 +154,20 @@
|
|
154
154
|
justify-content: center;
|
155
155
|
width: 24px;
|
156
156
|
height: 24px; }
|
157
|
+
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-add-new-child-btn {
|
158
|
+
display: flex;
|
159
|
+
margin: 20px auto !important;
|
160
|
+
align-items: center;
|
161
|
+
flex-direction: column;
|
162
|
+
height: 50px;
|
163
|
+
justify-content: center;
|
164
|
+
width: 100%;
|
165
|
+
user-select: text;
|
166
|
+
font-family: inherit;
|
167
|
+
font-size: 100%;
|
168
|
+
padding: 12px !important;
|
169
|
+
box-shadow: inset 0 0 0 1px #1e1e1e;
|
170
|
+
color: #1e1e1e; }
|
157
171
|
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container:has(.root-block-appender) {
|
158
172
|
margin-bottom: 3rem;
|
159
173
|
padding-bottom: 200px; }
|
@@ -166,9 +180,13 @@
|
|
166
180
|
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > p.wp-block:only-child {
|
167
181
|
margin: 2rem 0; }
|
168
182
|
|
169
|
-
.editor-sidebar .bc-url-input
|
170
|
-
width: 100%;
|
171
|
-
|
183
|
+
.editor-sidebar .bc-url-input {
|
184
|
+
min-width: 100%; }
|
185
|
+
.editor-sidebar .bc-url-input input {
|
186
|
+
width: 100%;
|
187
|
+
border: 1px solid #949494; }
|
188
|
+
.editor-sidebar .bc-url-input__suggestions {
|
189
|
+
max-width: 245px; }
|
172
190
|
|
173
191
|
.editor-sidebar .components-base-control .block-editor-link-control .block-editor-url-input {
|
174
192
|
margin-top: 0; }
|
@@ -253,21 +271,6 @@
|
|
253
271
|
.editor-sidebar .bc-spacing-range-control .components-base-control__help {
|
254
272
|
margin-left: -11px; }
|
255
273
|
|
256
|
-
.editor-sidebar .bc-add-new-child-btn {
|
257
|
-
display: flex;
|
258
|
-
margin: 20px auto !important;
|
259
|
-
align-items: center;
|
260
|
-
flex-direction: column;
|
261
|
-
height: 50px;
|
262
|
-
justify-content: center;
|
263
|
-
width: 100%;
|
264
|
-
user-select: text;
|
265
|
-
font-family: inherit;
|
266
|
-
font-size: 100%;
|
267
|
-
padding: 12px !important;
|
268
|
-
box-shadow: inset 0 0 0 1px #1e1e1e;
|
269
|
-
color: #1e1e1e; }
|
270
|
-
|
271
274
|
.block-editor-block-types-list > [role=presentation] {
|
272
275
|
justify-content: center; }
|
273
276
|
|
package/package.json
CHANGED
@@ -1,10 +1,16 @@
|
|
1
1
|
// Backward compatibility
|
2
2
|
// TODO: remove when the custom LinkControl will be removed
|
3
3
|
.bc-url-input {
|
4
|
+
min-width: 100%;
|
5
|
+
|
4
6
|
input {
|
5
7
|
width: 100%;
|
6
8
|
border: 1px solid #949494;
|
7
9
|
}
|
10
|
+
|
11
|
+
&__suggestions {
|
12
|
+
max-width: 245px;
|
13
|
+
}
|
8
14
|
}
|
9
15
|
|
10
16
|
// if the LinkControl is placed inside the BaseControl
|
package/src/styles/styles.scss
CHANGED
@@ -36,6 +36,7 @@
|
|
36
36
|
@import "image-wrapper";
|
37
37
|
@import "root-block-appender";
|
38
38
|
@import "empty-block-appender";
|
39
|
+
@import "new-child-btn";
|
39
40
|
|
40
41
|
margin-bottom: 0;
|
41
42
|
padding-bottom: 0;
|
@@ -71,7 +72,6 @@
|
|
71
72
|
@import "media-picker";
|
72
73
|
@import "sortable-select";
|
73
74
|
@import "responsive-spacing";
|
74
|
-
@import "new-child-btn";
|
75
75
|
}
|
76
76
|
|
77
77
|
.block-editor-block-types-list > [role=presentation] {
|