diff --git a/client/cryps.css b/client/cryps.css index 3d2b7fde..56f8c2fc 100644 --- a/client/cryps.css +++ b/client/cryps.css @@ -27,6 +27,14 @@ html { box-sizing: inherit; } +h1 { + font-size: 2em; +} + +h2 { + font-size: 1.5em; +} + /* main container */ .cryps { @@ -148,13 +156,11 @@ header { .header-title { flex: 1; - font-size: 2em; letter-spacing: 0.05em; } .header-username { letter-spacing: 0.05em; - font-size: 2em; display: inline; } @@ -210,7 +216,6 @@ header { } .spawn-btn .menu-cryp h2 { - font-size: 3em; flex: 1; } @@ -241,10 +246,6 @@ header { transition-timing-function: ease; } -.menu-cryp h2 { - font-size: 2em; -} - .menu-instance-list { flex: 0 0 50%; flex-flow: row wrap; @@ -257,8 +258,7 @@ header { .menu-instance-btn { box-sizing: border-box; flex: 1 1 100%; - font-size: 150%; - /*min-width: 20%;*/ + font-size: 1.5em; border-width: 2px; padding: 0.5em; margin-right: 0.5em; @@ -320,6 +320,7 @@ header { display: flex; flex-flow: row wrap; align-content: flex-start; + min-width: 250px; } .vbox-hdr { @@ -375,6 +376,8 @@ header { flex-flow: column; height: 95%; padding: 0 2em 0 2em; + + min-width: 300px; } /* CRYP BOX */ @@ -503,4 +506,21 @@ header { align-items: center; padding-left: 2em; flex: 1; -} \ No newline at end of file +} + +@media (max-width: 800px) { + .cryps { + font-size: 0.75em; + padding: 0 1em; + } + + .menu-instance-btn { + font-size: 1em; + } + + .cryp-list { + height: unset; + padding: 0; + } + +} diff --git a/client/src/components/header.component.jsx b/client/src/components/header.component.jsx index 5670f8d0..57c1ae4d 100644 --- a/client/src/components/header.component.jsx +++ b/client/src/components/header.component.jsx @@ -7,7 +7,7 @@ function renderHeader(args) { const { account } = args; const accountStatus = account ? (
-

{account.name}

+

{account.name}

{saw('stat-icon')}
) : ''; diff --git a/client/src/components/vbox.component.jsx b/client/src/components/vbox.component.jsx index 6e451314..d8fbd7bc 100644 --- a/client/src/components/vbox.component.jsx +++ b/client/src/components/vbox.component.jsx @@ -55,6 +55,7 @@ function Vbox(args) { key={j} onClick={() => { if (c) return setInfo('item', c)}} onDblClick={() => sendVboxAccept(j, i) } + onTouchStart={() => sendVboxAccept(j, i) } > {convertVar(c)}