Skip to content

Commit 5dfe03b

Browse files
authoredAug 2, 2024··
Make header buttons smaller (#191)
1 parent 26bed11 commit 5dfe03b

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed
 

‎messages/en-US.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@
286286
"title": "Settings"
287287
},
288288
"Locale": {
289-
"en-US": "English (US)",
289+
"en-US": "English",
290290
"fi": "Suomi"
291291
},
292292
"Share": {

‎messages/fi.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@
286286
"title": "Asetukset"
287287
},
288288
"Locale": {
289-
"en-US": "English (US)",
289+
"en-US": "English",
290290
"fi": "Suomi"
291291
},
292292
"Share": {

‎src/app/layout.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,12 @@ function Content({ children }: { children: React.ReactNode }) {
8484
<div role="navigation" aria-label="Menu" className="flex">
8585
<ul className="flex items-center text-sm">
8686
<li>
87-
<Button variant="ghost" asChild className="-my-3 text-primary">
87+
<Button
88+
variant="ghost"
89+
size="sm"
90+
asChild
91+
className="-my-3 text-primary"
92+
>
8893
<Link href="/groups">{t('Header.groups')}</Link>
8994
</Button>
9095
</li>

‎src/components/locale-switcher.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function LocaleSwitcher() {
1717
return (
1818
<DropdownMenu>
1919
<DropdownMenuTrigger asChild>
20-
<Button variant="ghost" asChild className="-my-3 text-primary">
20+
<Button variant="ghost" size="sm" className="-my-3 text-primary">
2121
<span>{t(locale)}</span>
2222
</Button>
2323
</DropdownMenuTrigger>

0 commit comments

Comments
 (0)
Please sign in to comment.