Skip to content

Commit

Permalink
Merge pull request #1580 from appwrite/markdoc-accordion-styles
Browse files Browse the repository at this point in the history
fix typo, update accordion title
  • Loading branch information
ItzNotABug authored Dec 27, 2024
2 parents 5933463 + d4e7797 commit bd84b56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CONTENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ Configure FCM for push notification to Android and Apple devices.

#### Accordions

Use accordions to reduce page size and collapse information that's not important when a reader is skilling the page.
Use accordions to reduce page size and collapse information that's not important when a reader is scrolling the page.

```
{% accordion %}
Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/Accordion/Item.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<summary
class="collapsible-button flex cursor-pointer list-none appearance-none items-center justify-between marker:hidden [&::-webkit-details-marker]:hidden"
>
<span class="text">{title}</span>
<span class="text-primary text-sub-body font-medium">{title}</span>
<div class="icon text-primary transition-transform group-[&[open]]:rotate-180">
<span class="icon-cheveron-down" aria-hidden="true" />
</div>
</summary>
<div class="collapsible-content flex flex-col">
<div class="collapsible-content text-secondary text-sub-body flex flex-col">
<slot />
</div>
</details>
Expand Down

0 comments on commit bd84b56

Please sign in to comment.