Merge branch 'fix/ios-being-dumb' into 'main'

IOS is dumb, fixing issues

See merge request Firq/fgosite!4
This commit is contained in:
Firq 2023-07-08 19:38:44 +00:00
commit 4e5b7fd2b5
2 changed files with 4 additions and 2 deletions

View file

@ -8,7 +8,7 @@
<ul class="desktop"> <ul class="desktop">
<slot /> <slot />
</ul> </ul>
<button class="mobile" aria-label="Navigation Button"> <button class="mobile" aria-label="Navigation Button" tabindex="0" onclick="this.focus()">
<ul> <ul>
<slot /> <slot />
</ul> </ul>
@ -80,12 +80,13 @@
} }
.mobile > i { .mobile > i {
position: static;
color: white; color: white;
font-weight: bold; font-weight: bold;
font-size: 2em; font-size: 2em;
align-self: flex-start; align-self: flex-start;
padding-right: 1em; padding-right: 1em;
padding-top: 16px; padding-top: 1.15rem;
} }
.mobile > ul { .mobile > ul {

View file

@ -26,6 +26,7 @@ const fulllink = `/${slug}`
rel="noopener noreferrer" rel="noopener noreferrer"
aria-label={text} aria-label={text}
class={currPage} class={currPage}
tabindex="0"
> >
<i class={icon}></i> <i class={icon}></i>
{text} {text}