mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-13 02:53:50 +00:00
feat(#2): Add chevron to dropdown parent
This commit is contained in:
@@ -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
|
||||
? ''
|
||||
|
||||
Reference in New Issue
Block a user