Skip to content

Commit 7f54e4c

Browse files
committed
Admin CSS + rework preload + fixes
1 parent 16b720c commit 7f54e4c

File tree

9 files changed

+404
-155
lines changed

9 files changed

+404
-155
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</a>
77
</p>
88

9-
> ⚠️ **This project is a Work in Progress (WIP).** Expect ongoing updates and improvements.
9+
> ⚠️ **This project is a Work in Progress (WIP).** Expect ongoing updates and improvements.
1010
1111
**Base** is a WordPress starter theme built with our proven methodology for developing custom WordPress themes. It leverages **Advanced Custom Fields PRO (ACF PRO)** for flexible content management and rapid development.
1212

assets/scss/admin.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
@use 'sprucecss/scss/spruce' as *;
2+
3+
.acf-image-preview {
4+
--inline-size: 25rem;
5+
6+
[data-name='image'] {
7+
max-inline-size: var(--inline-size) !important;
8+
}
9+
10+
&--small {
11+
--inline-size: 12.5rem;
12+
}
13+
}
14+
15+
.acf-fields > .acf-tab-wrap {
16+
overflow-y: hidden;
17+
}

0 commit comments

Comments
 (0)