feat: improve button animation

This commit is contained in:
saicaca
2024-06-22 17:02:43 +08:00
parent 8bdad0b2fc
commit 02865aa76e
5 changed files with 26 additions and 15 deletions

View File

@@ -80,7 +80,7 @@ $: search(keywordMobile, false)
<!-- toggle btn for phone/tablet view -->
<button on:click={togglePanel} aria-label="Search Panel" id="search-switch"
class="btn-plain lg:hidden rounded-lg w-11 h-11 active:scale-90">
class="btn-plain scale-animation lg:hidden rounded-lg w-11 h-11 active:scale-90">
<slot name="search-switch"></slot>
</button>