From 382f0ee2b4c311d2dbe03f9b94e9b84c4fb1db79 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:35:07 +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=82=92?= =?UTF-8?q?=E5=85=A5=E3=82=8C=E7=89=A9=E3=81=A7=E5=8C=85=E3=82=80=E6=9C=AC?= =?UTF-8?q?=E4=BD=93=E5=81=B4=E3=81=AE=E5=A4=89=E6=9B=B4=E3=81=AB=E5=90=88?= =?UTF-8?q?=E3=82=8F=E3=81=9B=E3=81=A6=E3=82=B9=E3=82=BF=E3=82=A4=E3=83=AB?= =?UTF-8?q?=E3=82=92=E7=9B=B4=E3=81=99=EF=BC=88CMS-7912=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 本体の埋め込みブロックのカードが画像を div.embed-block-card-image で包むようになったため、.embed-block-card > img 向けの指定を入れ物向けに書き換え、旧埋め込みユニット(.acms-embed-link-image-container)と同じ指定にまとめる。 --- themes/develop/src/style/editor.css | 15 +++++++-------- themes/develop/tailwind.config.js | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/themes/develop/src/style/editor.css b/themes/develop/src/style/editor.css index 13ae9e1..6047853 100644 --- a/themes/develop/src/style/editor.css +++ b/themes/develop/src/style/editor.css @@ -20,22 +20,21 @@ display: flex; } - .prose :where([class*='column-embed'] .acms-embed-link-image-container) { + .prose + :where([class*='column-embed'] .acms-embed-link-image-container, [data-type='embedBlock'] .embed-block-card-image) { flex: none; width: calc(100% / 3); } - .prose :where([class*='column-embed'] .acms-embed-link-image-container img) { + .prose + :where( + [class*='column-embed'] .acms-embed-link-image-container img, + [data-type='embedBlock'] .embed-block-card-image img + ) { height: 100%; object-fit: cover; } - .prose :where([data-type='embedBlock'] .embed-block-card > img) { - flex: none; - width: calc(100% / 3); - object-fit: cover; - } - .prose :where([class*='column-embed'] .acms-embed-link-content, [data-type='embedBlock'] .embed-block-card-content) { width: calc(100% / 3 * 2); } diff --git a/themes/develop/tailwind.config.js b/themes/develop/tailwind.config.js index f556227..1db43b9 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 > img": { + "[data-type='embedBlock'] .embed-block-card-image img": { display: 'block', width: '100%', margin: '0',