Styling changes:

- move `usa-accordion` class to wrap all accordion elements
- remove background color form `accordion` class and move it to atat
specific class `accordion__header`
- create class names for styling elements instead of relying on element
type
This commit is contained in:
leigh-mil
2019-12-10 10:11:15 -05:00
parent bf6db87157
commit 78e7b1efe8
4 changed files with 45 additions and 44 deletions

View File

@@ -8,7 +8,7 @@
content_tag="div",
content_classes="") %}
<accordion v-cloak inline-template>
<{{wrapper_tag}} class="usa-accordion {{ wrapper_classes }}">
<{{wrapper_tag}} class="{{ wrapper_classes }}">
<{{heading_tag}} class="accordion__button {{ heading_classes }}">
<button
v-on:click="toggle($event)"