From 01e94eb44a12402a79cc306e3d7032ef5f3046d0 Mon Sep 17 00:00:00 2001 From: Ryosuke Igarashi Date: Wed, 31 Jan 2024 09:22:00 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E3=83=8D=E3=82=B9=E3=83=88=E3=81=97?= =?UTF-8?q?=E3=81=9Fdetails=E3=81=AE=E3=82=B9=E3=82=BF=E3=82=A4=E3=83=AB?= =?UTF-8?q?=E5=B4=A9=E3=82=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/zenn-content-css/src/_content.scss | 2 +- packages/zenn-content-css/test.html | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/packages/zenn-content-css/src/_content.scss b/packages/zenn-content-css/src/_content.scss index 4bf92bf6..8833e131 100644 --- a/packages/zenn-content-css/src/_content.scss +++ b/packages/zenn-content-css/src/_content.scss @@ -291,7 +291,7 @@ summary { color: $c-text-gray-darker; } } -details[open] summary { +details[open] > summary { border-radius: $rounded-lg $rounded-lg 0 0; box-shadow: none; background: $c-bg-gray-lighter; diff --git a/packages/zenn-content-css/test.html b/packages/zenn-content-css/test.html index e5ff2c8f..c3f739f4 100644 --- a/packages/zenn-content-css/test.html +++ b/packages/zenn-content-css/test.html @@ -347,6 +347,17 @@

区切り線

!

警告メッセージをここに

+
+ 折りたたみ +
+
+ 折りたたみ +
+

test

+
+
+
+

サニタイズ適用前のYouTube埋め込み