Skip to content

Commit 132df85

Browse files
Fix ACF Gutenberg related issues in editor
1 parent 299e8e1 commit 132df85

File tree

4 files changed

+33
-5
lines changed

4 files changed

+33
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
### 9.1.5: 2022-09-12
22

3+
* Fix: Use ACF defined font styles in ACF fields
4+
* Fix acf icons visibility issue
5+
* Fix link colors in sidebar
36
* Add default font-family for form select items
47
* Remove opionated label font-weight
58
* Remove opionated nav default dropshadow from sub menus

css/dev/gutenberg-editor-styles.css

Lines changed: 11 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/prod/gutenberg-editor-styles.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sass/gutenberg/_editor.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,30 @@
1818
overflow-x: hidden;
1919

2020
// Use ACF defined font styles in ACF fields
21+
.acf-field,
22+
.acf-input,
23+
.acf-button-group label,
2124
.acf-fields *[class^='acf-'],
2225
.acf-fields [class^='acf-'] *:not(.mce-ico) {
2326
font-family: inherit;
2427
font-size: unset;
2528
}
2629

30+
// Fix acf icons visibility issue
31+
.acf-icon {
32+
// stylelint-disable-next-line
33+
z-index: 5555 !important;
34+
}
35+
36+
// Fix link colors in sidebar
37+
.edit-post-post-link__preview-link-container a,
38+
.editor-post-link a {
39+
40+
// stylelint-disable-next-line
41+
color: inherit;
42+
text-decoration: inherit;
43+
}
44+
2745
// Make buttons and input fields work in ACF previews
2846
.acf-block-preview .block {
2947
@import 'layout/forms';

0 commit comments

Comments
 (0)