mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-29 18:13:47 +00:00
fix: subscription status badge overflow + inline password validation
- Status badge (e.g. 'ПРИОСТАНОВЛЕНА (НЕДОСТАТОЧНО СРЕДСТВ)') now constrained with max-w-[55%] to prevent overlapping tariff name - Password too short error shown inline under password field during registration instead of at the top of the page (invisible on mobile)
This commit is contained in:
@@ -584,7 +584,7 @@ export default function Subscription() {
|
||||
|
||||
{/* Status badge */}
|
||||
<span
|
||||
className="rounded-full px-3 py-1 font-mono text-[10px] font-semibold uppercase tracking-wider"
|
||||
className="max-w-[55%] shrink-0 rounded-full px-3 py-1 text-center font-mono text-[10px] font-semibold uppercase tracking-wider"
|
||||
style={{
|
||||
background: subscription.is_active
|
||||
? `${zone.mainHex}15`
|
||||
|
||||
Reference in New Issue
Block a user