philbuchanan / Accordion-Blocks

Gutenberg blocks for creating responsive accordion drop-downs in WordPress.
https://wordpress.org/plugins/accordion-blocks/
44 stars 18 forks source link

Accordions do not show "-" when closed - reopened #166

Open jcamp opened 2 years ago

jcamp commented 2 years ago
    Accordions [currently do show the "-" when open](https://github.com/philbuchanan/Accordion-Blocks/blob/master/src/block/index.scss#L77) and the "+" when closed. You can easily change the specific styling of opened vs. closed items via CSS. The intention is to keep the plugin as simple as possible and allow customization via CSS.

Originally posted by @philbuchanan in https://github.com/philbuchanan/Accordion-Blocks/issues/165#issuecomment-1298691716

This is the current css from the wp repo: .c-accordion__item.is-selected{border-bottom:1px solid var(--wp-admin-theme-color)!important}

jcamp commented 2 years ago

There is a discrepancy between the WordPress repo of your plugin and your source here. The build has not worked correctly and is not using the correct css and perhaps other source? Both 1.5.0 but both look quite different?

jcamp commented 2 years ago

https://wordpress.org/plugins/accordion-blocks/

that is not the same as you have here...?

jcamp commented 2 years ago

The SCSS is def not anything like the dist CSS file...? (de-compiled of course)