Make header buttons smaller (#191)

This commit is contained in:
Sebastien Castiel
2024-08-02 12:22:39 -04:00
committed by GitHub
parent 26bed11116
commit 5dfe03b3f1
4 changed files with 9 additions and 4 deletions

View File

@@ -286,7 +286,7 @@
"title": "Settings"
},
"Locale": {
"en-US": "English (US)",
"en-US": "English",
"fi": "Suomi"
},
"Share": {

View File

@@ -286,7 +286,7 @@
"title": "Asetukset"
},
"Locale": {
"en-US": "English (US)",
"en-US": "English",
"fi": "Suomi"
},
"Share": {

View File

@@ -84,7 +84,12 @@ function Content({ children }: { children: React.ReactNode }) {
<div role="navigation" aria-label="Menu" className="flex">
<ul className="flex items-center text-sm">
<li>
<Button variant="ghost" asChild className="-my-3 text-primary">
<Button
variant="ghost"
size="sm"
asChild
className="-my-3 text-primary"
>
<Link href="/groups">{t('Header.groups')}</Link>
</Button>
</li>

View File

@@ -17,7 +17,7 @@ export function LocaleSwitcher() {
return (
<DropdownMenu>
<DropdownMenuTrigger asChild>
<Button variant="ghost" asChild className="-my-3 text-primary">
<Button variant="ghost" size="sm" className="-my-3 text-primary">
<span>{t(locale)}</span>
</Button>
</DropdownMenuTrigger>