feat: change color for active tab

This commit is contained in:
三咲智子 2023-01-03 19:53:40 +08:00
parent fe7bd2d7e3
commit a4eda1ce66
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E

View file

@ -40,7 +40,7 @@ useCommands(() => command
relative flex flex-auto cursor-pointer sm:px6 px2 rounded transition-all
tabindex="1"
hover:bg-active transition-100
exact-active-class="children:(text-secondary !border-primary !op100)"
exact-active-class="children:(text-secondary !border-primary !op100 !text-base)"
@click="!preventScrollTop && $scrollToTop()"
>
<span ws-nowrap mxa sm:px2 sm:py3 py2 text-center border-b-3 text-secondary-light hover:text-secondary border-transparent>{{ option.display }}</span>