fix: height to maxHeight (#508)

This commit is contained in:
Linkie Link 2023-09-27 10:16:49 +02:00 committed by GitHub
parent 5f83570a4a
commit 4630426ae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -104,7 +104,7 @@ export default function Select(props: Props) {
{props.title}
</Text>
)}
<div className='w-full overflow-y-scroll h-70 scrollbar-hide'>
<div className='w-full overflow-y-scroll max-h-70 scrollbar-hide'>
{props.options
.sort((a, b) =>
(a.amount?.toNumber() ?? 0) > (b.amount?.toNumber() ?? 0) ? -1 : 1,

View File

@ -142,7 +142,6 @@ module.exports = {
15: '60px',
50: '200px',
55: '220px',
70: '280px',
},
hueRotate: {
'-82': '-82deg',
@ -192,6 +191,9 @@ module.exports = {
wider: '3px',
widest: '5px',
},
maxHeight: {
70: '280px',
},
minHeight: {
3: '12px',
5: '20px',