diff --git a/src/app/dashboard/dashboard.css b/src/app/dashboard/dashboard.css index 60978b8..c292889 100644 --- a/src/app/dashboard/dashboard.css +++ b/src/app/dashboard/dashboard.css @@ -891,9 +891,6 @@ .dash-root .tm .ds-btn.v-primary { background: rgba(253, 169, 19, 0.92); color: #fff; border-radius: 9.132px; box-shadow: 0 8px 20px -10px rgba(253, 169, 19, 0.75); } .dash-root .tm .ds-btn.v-primary svg { color: #fff; } .dash-root .tm .ds-btn.v-primary:not(:disabled):hover { background: rgba(253, 169, 19, 1); } - - .dash-root .view-body { display: flex; flex-direction: column; gap: 14px; } - .dash-root .tm-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .dash-root .tm-search { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 220px; height: 44px; padding: 0 13px; border-radius: 13px; border: 1px solid var(--border-2); background: var(--panel-2); color: var(--muted); transition: 0.14s; } .dash-root .tm-search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px var(--ring); color: var(--orange); } diff --git a/src/components/portal/portal.css b/src/components/portal/portal.css index 18cb607..ea09c92 100644 --- a/src/components/portal/portal.css +++ b/src/components/portal/portal.css @@ -508,8 +508,12 @@ select.input option { background: var(--ink); color: var(--text); } /* ---- country code select ---- */ .phone-row { display: flex; gap: 8px; } +.cc-field { position: relative; flex: 0 0 118px; width: 118px; } +.cc-field .cc-select { width: 100%; flex: none; padding-left: 40px; } +.cc-flag-img { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 16px; border-radius: 3px; object-fit: cover; pointer-events: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18); } +.cc-flag-img.static { position: static; transform: none; } .cc-select { width: 110px; flex: 0 0 110px; } -@media (max-width: 420px) { .cc-select { width: 96px; flex-basis: 96px; } } +@media (max-width: 420px) { .cc-field { flex-basis: 104px; width: 104px; } .cc-select { width: 96px; flex-basis: 96px; } } /* ---- misc login/register bits ---- */ .tips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 8px; } diff --git a/src/components/portal/register-flow.tsx b/src/components/portal/register-flow.tsx index 72a23a2..0832111 100644 --- a/src/components/portal/register-flow.tsx +++ b/src/components/portal/register-flow.tsx @@ -191,9 +191,13 @@ function StepAccount(p: {