Skip to content

Commit a1a450a

Browse files
committed
feat: add cursor and don't allow editing options when the layout is hidden
1 parent 9a6cf3b commit a1a450a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

assets/css/style.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,15 @@
1919

2020
/* Make hidden layout look "hidden" */
2121
.acf-layout-hidden .acf-fields {
22-
opacity: 0.7;
22+
opacity: 0.5;
23+
cursor: not-allowed;
24+
}
25+
26+
.acf-layout-hidden .acf-fields > * {
27+
pointer-events: none;
2328
}
2429

2530
.acf-layout-hidden .acf-fc-layout-handle {
2631
background: rgba(0,0,0,.02);
2732
opacity: .7;
28-
}
33+
}

0 commit comments

Comments
 (0)