Skip to content

Commit 57ebd86

Browse files
authored
Merge pull request #13942 from ethereum/patch-menu-height
fix: LanguagePicker max height
2 parents e4d547f + c83e6ce commit 57ebd86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/LanguagePicker/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const LanguagePickerMenu = ({ languages, onClose, onSelect }) => {
125125

126126
return (
127127
<Command
128-
className="gap-2 p-4"
128+
className="max-h-[calc(100vh-12rem)] gap-2 p-4"
129129
filter={(value: string, search: string) => {
130130
const item = languages.find((name) => name.localeOption === value)
131131

@@ -157,7 +157,7 @@ const LanguagePickerMenu = ({ languages, onClose, onSelect }) => {
157157
kbdShortcut="\"
158158
/>
159159

160-
<CommandList className="max-h-[75vh]">
160+
<CommandList className="max-h-full">
161161
<CommandEmpty className="py-0 text-left text-base">
162162
<NoResultsCallout onClose={onClose} />
163163
</CommandEmpty>

0 commit comments

Comments
 (0)