.token-tooltip { display: none; width: 16rem; max-width: 16rem; white-space: normal; background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(6px); border: 0.1rem solid rgba(var(--secUser), 0.5); color: rgba(var(--secUser), 1); padding: 0.5rem 0.75rem; border-radius: 0.5rem; z-index: 10; font-size: 0.875rem; h4 { font-size: 0.95rem; margin: 0 0 0.3rem 0; color: rgba(var(--terUser), 1); display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; .token-count { font-size: 0.75rem; opacity: 0.65; font-weight: normal; flex-shrink: 0; } } p { margin: 0 0 0.2rem 0; &.expiry { color: rgba(var(--priRd), 1); } } small { display: block; font-size: 0.6rem; opacity: 0.6; } } .token { position: relative; display: inline-block; cursor: help; color: rgba(var(--terUser), 1); .token-tooltip { position: absolute; bottom: 125%; left: 50%; transform: translateX(-50%); } &:hover .token-tooltip { display: block; } } .token--empty { cursor: help; > i { opacity: 0.4; } } html:has(body.page-wallet) { overflow: hidden; } body.page-wallet { overflow: hidden; .container { overflow: hidden; display: flex; flex-direction: column; flex: 1; min-height: 0; } .row { flex-shrink: 0; } } .wallet-page { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; } .wallet-tokens { display: flex; flex-direction: column; overflow: visible; h2 { flex-shrink: 0; margin-bottom: 0; } .token-row { flex: 1; display: flex; flex-direction: row; align-items: center; justify-content: space-evenly; overflow: visible; } .token { font-size: 1.5rem; } .token:hover .token-tooltip { display: none; } } #id_payment_methods { overflow-y: auto; } @media (max-width: 768px) { .token .token-tooltip { width: 13rem; max-width: 90vw; left: 0; transform: none; } .wallet-tokens .token-tooltip { left: 50%; transform: translateX(-50%); } }