From c08b2158d89c8b8881f823169acb8b16ecd43c38 Mon Sep 17 00:00:00 2001 From: maki Date: Fri, 8 Mar 2024 13:23:06 -0300 Subject: [PATCH] fix: flecha de details repetida --- app/assets/stylesheets/application.scss | 39 +------------------------ 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 8846b368..f70869a5 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -573,15 +573,7 @@ $bezier: cubic-bezier(0.75, 0, 0.25, 1); display: none; } } - summary::after { - content: '▶'; - font-size: 1.8rem; - position: absolute; - right: 0%; - top: 0%; - transform: rotate(180deg); - - } + &[open] { & > summary { .hide-when-open { @@ -599,32 +591,3 @@ $bezier: cubic-bezier(0.75, 0, 0.25, 1); hr { border-bottom: 1px solid #dee2e6; } - -details { - summary { - .show-when-open { - display: none; - } - - .hide-when-open { - display: block; - } - } - - &[open] { - summary { - .show-when-open { - display: block; - } - - .hide-when-open { - display: none; - } - } - } - - & > summary { - list-style: none; - &::-webkit-details-marker { display: none; } - } -}