mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
fix(website): mobile regression and layout tweaks
This commit is contained in:
@@ -46,11 +46,14 @@ export function Header() {
|
||||
|
||||
<nav className={`${mobileMenuShown ? "mobile-shown" : ""}`}>
|
||||
{HEADER_LINKS.map(link => (
|
||||
<a
|
||||
<Link
|
||||
href={link.url}
|
||||
className={url === link.url ? "active" : ""}
|
||||
target={link.external && "_blank"}
|
||||
>{link.text}</a>
|
||||
openExternally={link.external}
|
||||
onClick={() => {
|
||||
setMobileMenuShown(false);
|
||||
}}
|
||||
>{link.text}</Link>
|
||||
))}
|
||||
|
||||
<SocialButtons className="mobile-only" withText />
|
||||
|
||||
Reference in New Issue
Block a user