mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-15 00:36:56 +08:00
feat: exchange scroll
This commit is contained in:
@@ -1771,11 +1771,12 @@ function ExchangeConfigModal({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4">
|
<div className="fixed inset-0 bg-black bg-opacity-50 flex items-start justify-center z-50 p-4 overflow-y-auto">
|
||||||
<div
|
<div
|
||||||
className="bg-gray-800 rounded-lg p-6 w-full max-w-lg relative"
|
className="bg-gray-800 rounded-lg p-6 w-full max-w-lg relative my-8 max-h-[calc(100vh-2rem)]"
|
||||||
style={{ background: '#1E2329' }}
|
style={{ background: '#1E2329' }}
|
||||||
>
|
>
|
||||||
|
<div className="max-h-[calc(100vh-8rem)] overflow-y-auto">
|
||||||
<div className="flex items-center justify-between mb-4">
|
<div className="flex items-center justify-between mb-4">
|
||||||
<h3 className="text-xl font-bold" style={{ color: '#EAECEF' }}>
|
<h3 className="text-xl font-bold" style={{ color: '#EAECEF' }}>
|
||||||
{editingExchangeId
|
{editingExchangeId
|
||||||
@@ -2398,6 +2399,7 @@ function ExchangeConfigModal({
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Binance Setup Guide Modal */}
|
{/* Binance Setup Guide Modal */}
|
||||||
|
|||||||
Reference in New Issue
Block a user