feat: exchange scroll

This commit is contained in:
icy
2025-11-07 18:34:59 +08:00
parent 9e50946a28
commit daa404ec4a

View File

@@ -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 */}