Raise client layout version and add subscription form height cap
All checks were successful
Build and Deploy Gateway / build-and-push (push) Successful in 15s
Build and Deploy Gateway / deploy (push) Successful in 6s

This commit is contained in:
2026-07-12 14:41:47 +03:00
parent fca3c0b705
commit 6bd51dc8fb
4 changed files with 9 additions and 3 deletions

View File

@@ -1049,7 +1049,7 @@ export function ClientOverviewPage({
? 'Сейчас работают правила Gateway'
: state?.route?.localRulesPendingRestart ? 'Правила ждут перезапуска' : 'Локальные правила'}</span>
</button>}
<main className={`client-panel${showPower ? '' : ' is-setup'}`}>
<main className={`client-panel${showPower ? '' : ' is-setup'}${hasSubscription ? ' has-subscription' : ''}`}>
{showPower && (
<section className="client-power-section" aria-labelledby="connection-title">
<button

View File

@@ -1680,6 +1680,10 @@ p {
justify-self: center;
}
.client-panel.has-subscription .client-form {
height: min(640px, calc(100vh - 120px));
}
.client-power-section p {
color: var(--client-muted);
font-size: 11px;
@@ -3288,6 +3292,7 @@ p {
}
.client-form {
height: auto;
max-height: none;
overflow-y: visible;
overscroll-behavior: auto;