Merge pull request #778 from iPagar/mobile-menu

This commit is contained in:
Classic298
2025-10-24 17:52:09 +02:00
committed by GitHub
2 changed files with 19 additions and 0 deletions

View File

@@ -97,12 +97,19 @@ const config: Config = {
position: "left",
},
{
href: "/",
label: "Docs",
position: "left",
},
{
label: "GitHub",
href: "https://github.com/open-webui/open-webui",
position: "right",
className: "header-github-link",
"aria-label": "GitHub repository",
},
{
label: "Discord",
href: "https://discord.com/invite/5rJgQTnV4s",
position: "right",
className: "header-discord-link",

View File

@@ -637,6 +637,18 @@ div.special_table + table tr:nth-child(even) {
min-height: 100vh;
}
.header-github-link,
.header-discord-link {
gap: 0.25rem;
}
@media screen and (width >= 997px) {
.header-github-link,
.header-discord-link {
font-size: 0;
}
}
.header-discord-link {
margin-right: 16px;
}