fix(settings): simplify subscription display to inline text with separator
This commit is contained in:
1 parent
46d91af88f
commit
a55c85348d
1 file changed
+9
-14
@@ -1891,10 +1891,8 @@
|
|||||||
<div class="avatar-small">{userName.charAt(0).toUpperCase()}</div>
|
<div class="avatar-small">{userName.charAt(0).toUpperCase()}</div>
|
||||||
<div class="account-info-compact">
|
<div class="account-info-compact">
|
||||||
<span class="username-compact">{userName}</span>
|
<span class="username-compact">{userName}</span>
|
||||||
<span class="subscription-badge">{subscription}</span>
|
<span class="separator">·</span>
|
||||||
{#if subscriptionValidUntil}
|
<span class="subscription-text">{subscription}</span>
|
||||||
<span class="valid-until">({subscriptionValidUntil})</span>
|
|
||||||
{/if}
|
|
||||||
</div>
|
</div>
|
||||||
<button class="logout-btn-compact" onclick={onLogout}>{$t('settings.account.logout')}</button>
|
<button class="logout-btn-compact" onclick={onLogout}>{$t('settings.account.logout')}</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -3054,18 +3052,15 @@ flatpak override --user --filesystem=/home/USUARIO/Música com.blitzfc.qbz</pre>
|
|||||||
color: var(--text-primary);
|
color: var(--text-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.subscription-badge {
|
.account-info-compact .separator {
|
||||||
font-size: 11px;
|
color: var(--text-muted);
|
||||||
font-weight: 500;
|
font-size: 14px;
|
||||||
color: var(--accent-primary);
|
|
||||||
background: var(--alpha-10);
|
|
||||||
padding: 2px 8px;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.valid-until {
|
.subscription-text {
|
||||||
font-size: 11px;
|
font-size: 14px;
|
||||||
color: var(--text-muted);
|
font-weight: 400;
|
||||||
|
color: var(--accent-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.logout-btn-compact {
|
.logout-btn-compact {
|
||||||
|
|||||||
Reference in new issue
Block a user