Skip to content

Commit 3da97a1

Browse files
authored
Fix: select box overflow on download pages (#7119)
fix: download page select overflow
1 parent 3c0635c commit 3da97a1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

apps/site/components/Downloads/Release/BitnessDropdown.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const BitnessDropdown: FC = () => {
100100
ariaLabel={t('layouts.download.dropdown.bitness')}
101101
defaultValue={String(bitness)}
102102
onChange={bitness => setBitness(parseNumericBitness(bitness))}
103-
className="w-28"
103+
className="min-w-28"
104104
inline={true}
105105
/>
106106
);

apps/site/components/Downloads/Release/OperatingSystemDropdown.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const OperatingSystemDropdown: FC<OperatingSystemDropdownProps> = ({
6363
ariaLabel={t('layouts.download.dropdown.os')}
6464
defaultValue={os}
6565
onChange={value => setOS(value as UserOS)}
66-
className="w-[8.5rem]"
66+
className="min-w-[8.5rem]"
6767
inline={true}
6868
/>
6969
);

apps/site/components/Downloads/Release/PlatformDropdown.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const PlatformDropdown: FC = () => {
7979
ariaLabel={t('layouts.download.dropdown.platform')}
8080
defaultValue={platform}
8181
onChange={platform => setPlatform(platform as PackageManager)}
82-
className="w-28"
82+
className="min-w-28"
8383
inline={true}
8484
/>
8585
);

apps/site/components/Downloads/Release/VersionDropdown.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const VersionDropdown: FC = () => {
3232
}))}
3333
defaultValue={release.versionWithPrefix}
3434
onChange={setVersion}
35-
className="w-40"
35+
className="min-w-40"
3636
inline={true}
3737
/>
3838
);

0 commit comments

Comments
 (0)