fix modal rounded corners

This commit is contained in:
saml33 2022-10-28 21:01:49 +11:00
parent ba7b7d852f
commit 147121363c
3 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@ import {
} from '@heroicons/react/20/solid'
import Decimal from 'decimal.js'
import { useTranslation } from 'next-i18next'
import Image from "next/legacy/image";
import Image from 'next/legacy/image'
import React, { useCallback, useMemo, useState } from 'react'
import NumberFormat, { NumberFormatValues } from 'react-number-format'
import mangoStore from '@store/mangoStore'
@ -153,7 +153,7 @@ function BorrowModal({ isOpen, onClose, token }: ModalCombinedProps) {
return (
<Modal isOpen={isOpen} onClose={onClose}>
<EnterBottomExitBottom
className="absolute bottom-0 left-0 z-20 h-full w-full overflow-auto bg-th-bkg-1 p-6"
className="absolute bottom-0 left-0 z-20 h-full w-full overflow-auto rounded-lg bg-th-bkg-1 p-6"
show={showTokenList}
>
<h2 className="mb-4 text-center">{t('select-token')}</h2>

View File

@ -8,7 +8,7 @@ import { Wallet } from '@project-serum/anchor'
import { useWallet } from '@solana/wallet-adapter-react'
import Decimal from 'decimal.js'
import { useTranslation } from 'next-i18next'
import Image from "next/legacy/image";
import Image from 'next/legacy/image'
import React, { useCallback, useEffect, useMemo, useState } from 'react'
import NumberFormat, { NumberFormatValues } from 'react-number-format'
import mangoStore from '@store/mangoStore'
@ -208,7 +208,7 @@ function DepositModal({ isOpen, onClose, token }: ModalCombinedProps) {
return (
<Modal isOpen={isOpen} onClose={onClose}>
<EnterBottomExitBottom
className="absolute bottom-0 left-0 z-20 h-full w-full overflow-auto bg-th-bkg-1 p-6"
className="absolute bottom-0 left-0 z-20 h-full w-full overflow-auto rounded-lg bg-th-bkg-1 p-6"
show={showTokenList}
>
<h2 className="mb-4 text-center">{t('select-token')}</h2>

View File

@ -6,7 +6,7 @@ import {
} from '@heroicons/react/20/solid'
import Decimal from 'decimal.js'
import { useTranslation } from 'next-i18next'
import Image from "next/legacy/image";
import Image from 'next/legacy/image'
import { useCallback, useMemo, useState } from 'react'
import NumberFormat, { NumberFormatValues } from 'react-number-format'
@ -159,7 +159,7 @@ function WithdrawModal({ isOpen, onClose, token }: ModalCombinedProps) {
<Modal isOpen={isOpen} onClose={onClose}>
<div className="">
<EnterBottomExitBottom
className="absolute bottom-0 left-0 z-20 h-full w-full overflow-auto bg-th-bkg-1 p-6"
className="absolute bottom-0 left-0 z-20 h-full w-full overflow-auto rounded-lg bg-th-bkg-1 p-6"
show={showTokenList}
>
<h2 className="mb-4 text-center">{t('select-token')}</h2>