fix: height to maxHeight (#508)
This commit is contained in:
parent
5f83570a4a
commit
4630426ae7
@ -104,7 +104,7 @@ export default function Select(props: Props) {
|
|||||||
{props.title}
|
{props.title}
|
||||||
</Text>
|
</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
|
{props.options
|
||||||
.sort((a, b) =>
|
.sort((a, b) =>
|
||||||
(a.amount?.toNumber() ?? 0) > (b.amount?.toNumber() ?? 0) ? -1 : 1,
|
(a.amount?.toNumber() ?? 0) > (b.amount?.toNumber() ?? 0) ? -1 : 1,
|
||||||
|
@ -142,7 +142,6 @@ module.exports = {
|
|||||||
15: '60px',
|
15: '60px',
|
||||||
50: '200px',
|
50: '200px',
|
||||||
55: '220px',
|
55: '220px',
|
||||||
70: '280px',
|
|
||||||
},
|
},
|
||||||
hueRotate: {
|
hueRotate: {
|
||||||
'-82': '-82deg',
|
'-82': '-82deg',
|
||||||
@ -192,6 +191,9 @@ module.exports = {
|
|||||||
wider: '3px',
|
wider: '3px',
|
||||||
widest: '5px',
|
widest: '5px',
|
||||||
},
|
},
|
||||||
|
maxHeight: {
|
||||||
|
70: '280px',
|
||||||
|
},
|
||||||
minHeight: {
|
minHeight: {
|
||||||
3: '12px',
|
3: '12px',
|
||||||
5: '20px',
|
5: '20px',
|
||||||
|
Loading…
Reference in New Issue
Block a user