From a4b32e407e1c2162c991bb654e492fe6386ee0e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E4=BA=95=20=E9=99=B8=E7=99=BB?= Date: Mon, 28 Sep 2026 16:49:09 +0900 Subject: [PATCH] =?UTF-8?q?=E5=9F=8B=E3=82=81=E8=BE=BC=E3=81=BF=E3=83=96?= =?UTF-8?q?=E3=83=AD=E3=83=83=E3=82=AF=E3=81=AE=E3=83=AA=E3=83=B3=E3=82=AF?= =?UTF-8?q?=E3=82=AB=E3=83=BC=E3=83=89=E3=81=AE=E7=94=BB=E5=83=8F=E3=81=AE?= =?UTF-8?q?=E5=85=A5=E3=82=8C=E7=89=A9=E3=81=AE=E3=82=AF=E3=83=A9=E3=82=B9?= =?UTF-8?q?=E5=90=8D=E3=82=92=20embed-block-card-image-container=20?= =?UTF-8?q?=E3=81=AB=E5=90=88=E3=82=8F=E3=81=9B=E3=82=8B=EF=BC=88CMS-7912?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 本体側で入れ物のクラス名を embed-block-card-image から embed-block-card-image-container に改めたため、テーマの指定も合わせる。旧埋め込みユニットの acms-embed-link-image-container と名前をそろえる。 --- themes/develop/src/style/editor.css | 7 +++++-- themes/develop/tailwind.config.js | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/themes/develop/src/style/editor.css b/themes/develop/src/style/editor.css index 6047853..74a4d4c 100644 --- a/themes/develop/src/style/editor.css +++ b/themes/develop/src/style/editor.css @@ -21,7 +21,10 @@ } .prose - :where([class*='column-embed'] .acms-embed-link-image-container, [data-type='embedBlock'] .embed-block-card-image) { + :where( + [class*='column-embed'] .acms-embed-link-image-container, + [data-type='embedBlock'] .embed-block-card-image-container + ) { flex: none; width: calc(100% / 3); } @@ -29,7 +32,7 @@ .prose :where( [class*='column-embed'] .acms-embed-link-image-container img, - [data-type='embedBlock'] .embed-block-card-image img + [data-type='embedBlock'] .embed-block-card-image-container img ) { height: 100%; object-fit: cover; diff --git a/themes/develop/tailwind.config.js b/themes/develop/tailwind.config.js index 1db43b9..844c29a 100644 --- a/themes/develop/tailwind.config.js +++ b/themes/develop/tailwind.config.js @@ -225,7 +225,7 @@ module.exports = { transitionProperty: 'opacity', }, // カードの画像の角丸を打ち消す - "[data-type='embedBlock'] .embed-block-card-image img": { + "[data-type='embedBlock'] .embed-block-card-image-container img": { display: 'block', width: '100%', margin: '0',