mirror of
https://github.com/spliit-app/spliit.git
synced 2026-02-11 18:16:13 +01:00
Make header buttons smaller (#191)
This commit is contained in:
committed by
GitHub
parent
26bed11116
commit
5dfe03b3f1
@@ -286,7 +286,7 @@
|
||||
"title": "Settings"
|
||||
},
|
||||
"Locale": {
|
||||
"en-US": "English (US)",
|
||||
"en-US": "English",
|
||||
"fi": "Suomi"
|
||||
},
|
||||
"Share": {
|
||||
|
||||
@@ -286,7 +286,7 @@
|
||||
"title": "Asetukset"
|
||||
},
|
||||
"Locale": {
|
||||
"en-US": "English (US)",
|
||||
"en-US": "English",
|
||||
"fi": "Suomi"
|
||||
},
|
||||
"Share": {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user