feat(#2): Add chevron to dropdown parent

This commit is contained in:
Josh Creek
2024-06-04 20:22:19 +01:00
parent e4438d552b
commit ca40b8403a
+7 -1
View File
@@ -4,7 +4,13 @@
<li><a href="/products">Products</a></li>
<li class={isMobile ? '' : 'dropdown'}>
<div tabindex="0" role="button" class="">Parent</div>
{#if isMobile}
<div tabindex="0" role="button" class="">Parent</div>
{:else}
<details>
<summary>Parent</summary>
</details>
{/if}
<ul
class="{isMobile
? ''