mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-06 00:37:23 +00:00
upgraded mobile styling
This commit is contained in:
1 parent
8ef018df8a
commit
e4ee51335e
8 files changed
+206
-162
No files matched your search
@@ -13,13 +13,14 @@ import { useHistoryManager } from '@/hooks/cashu/useHistoryManager';
|
||||
import { QRModal } from '@/components/ui/qr-modal';
|
||||
import { BalanceDisplay } from './BalanceDisplay';
|
||||
import { ActionButtons } from './ActionButtons';
|
||||
import { ModeToggle } from './ModeToggle';
|
||||
import { Drawer, DrawerContent, DrawerHeader, DrawerTitle } from '@/components/ui/drawer';
|
||||
import { ReceiveCard } from './ReceiveCard';
|
||||
import { SendCard } from './SendCard';
|
||||
import { TransactionHistory } from './TransactionHistory';
|
||||
import { ProofBreakdownModal } from './ProofBreakdownModal';
|
||||
import { RemoveMintModal } from './RemoveMintModal';
|
||||
import { LoginArea } from '@/components/auth/LoginArea';
|
||||
import { LoginIcon } from '@/components/auth/LoginIcon';
|
||||
|
||||
export function CashuWallet() {
|
||||
// ============================================================================
|
||||
@@ -276,11 +277,16 @@ export function CashuWallet() {
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="max-w-4xl mx-auto py-1 px-3 sm:px-4 relative">
|
||||
<div className="max-w-4xl mx-auto pt-16 pb-1 px-3 sm:px-4 relative">
|
||||
|
||||
{/* Login Area */}
|
||||
<div className="absolute top-1 right-3 sm:right-4 z-10">
|
||||
<LoginArea />
|
||||
{/* Mode Toggle */}
|
||||
<div className="absolute top-3 left-3 sm:left-4 z-10">
|
||||
<ModeToggle mode={mode} setMode={setMode} />
|
||||
</div>
|
||||
|
||||
{/* Login Icon */}
|
||||
<div className="absolute top-3 right-3 sm:right-4 z-10">
|
||||
<LoginIcon />
|
||||
</div>
|
||||
|
||||
{/* Balance Display */}
|
||||
@@ -289,8 +295,6 @@ export function CashuWallet() {
|
||||
balances={balances}
|
||||
showSats={showSats}
|
||||
setShowSats={setShowSats}
|
||||
mode={mode}
|
||||
setMode={setMode}
|
||||
activeMintUrl={activeMintUrl}
|
||||
setActiveMintUrl={handleSetActiveMintSync}
|
||||
mints={mints}
|
||||
@@ -410,9 +414,9 @@ export function CashuWallet() {
|
||||
|
||||
{/* Bottom Drawer Modals */}
|
||||
<Drawer open={showSendModal} onOpenChange={setShowSendModal}>
|
||||
<DrawerContent className="min-h-[50vh] max-h-[85vh]">
|
||||
<DrawerContent className="min-h-[50vh] max-h-[85vh] max-w-4xl mx-auto">
|
||||
<DrawerHeader>
|
||||
<DrawerTitle>Send</DrawerTitle>
|
||||
<DrawerTitle></DrawerTitle>
|
||||
</DrawerHeader>
|
||||
<div className="px-4 pb-4">
|
||||
<SendCard
|
||||
@@ -445,9 +449,9 @@ export function CashuWallet() {
|
||||
</Drawer>
|
||||
|
||||
<Drawer open={showReceiveModal} onOpenChange={setShowReceiveModal}>
|
||||
<DrawerContent className="min-h-[50vh] max-h-[85vh]">
|
||||
<DrawerContent className="min-h-[50vh] max-h-[85vh] max-w-4xl mx-auto">
|
||||
<DrawerHeader>
|
||||
<DrawerTitle>Receive</DrawerTitle>
|
||||
<DrawerTitle></DrawerTitle>
|
||||
</DrawerHeader>
|
||||
<div className="px-4 pb-4">
|
||||
<ReceiveCard
|
||||
|
||||
Reference in new issue
Block a user