fix: Принудительно открываем разделы сайта в текущей вкладке
This commit is contained in:
parent
5472ca22fe
commit
ee3be629a0
1 changed files with 5 additions and 1 deletions
|
|
@ -15,7 +15,11 @@
|
|||
class="flex shrink-0 flex-row gap-2 bg-slate-100 not-landscape:justify-around not-landscape:overflow-x-auto not-landscape:sm:px-2 landscape:flex-col landscape:overflow-y-auto landscape:sm:py-2"
|
||||
>
|
||||
{#each routes as route (route.href)}
|
||||
<a class="nav-button {isActive(route.href) ? 'active' : ''}" href={route.href}>
|
||||
<a
|
||||
class="nav-button {isActive(route.href) ? 'active' : ''}"
|
||||
href={route.href}
|
||||
target="_self"
|
||||
>
|
||||
<div class="p-1">
|
||||
<HoverIcon
|
||||
src={route.icon}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue