From 00e6212bb8a227ba3b3e13457696ce1cb2548524 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 24 Feb 2026 17:24:37 +0100 Subject: [PATCH] FEATURE Handling the new frame-rotated variation --- resources/css/blocks/wp-block-image.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/css/blocks/wp-block-image.css b/resources/css/blocks/wp-block-image.css index ed6bd9f..e07f3a5 100644 --- a/resources/css/blocks/wp-block-image.css +++ b/resources/css/blocks/wp-block-image.css @@ -1,3 +1,4 @@ +.wp-block-image.is-style-framed-rotated, .wp-block-image.is-style-framed { @apply border-2 p-4 w-fit bg-white; --advised-text-color: currentColor; @@ -13,6 +14,7 @@ @apply -rotate-2; } } + .wp-block-image.is-style-stacked { @apply w-fit bg-green-200 relative z-30 !mb-12; @@ -36,7 +38,8 @@ @apply content-[''] absolute inset-0 bg-white border border-primary w-full h-full top-0 left-0; z-index: 10; transform: translate(40px, 40px) rotate(-4deg); - background: linear-gradient( + background: + linear-gradient( var(--wp--preset--color--primary), var(--wp--preset--color--primary) )