Improve server picker scrolling and subscription input layout
This commit is contained in:
@@ -338,18 +338,16 @@ function AddProfileForm({ feature }: { feature: SubscriptionFeatureController })
|
||||
feature.addProfile();
|
||||
}}
|
||||
>
|
||||
<label>
|
||||
<span>Ссылка подписки</span>
|
||||
<input
|
||||
ref={feature.labelRef}
|
||||
type="url"
|
||||
inputMode="url"
|
||||
value={feature.url}
|
||||
placeholder="https://…"
|
||||
aria-invalid={feature.validationStatus === 'invalid'}
|
||||
onChange={(event) => feature.setUrl(event.target.value)}
|
||||
/>
|
||||
</label>
|
||||
<input
|
||||
ref={feature.labelRef}
|
||||
type="url"
|
||||
inputMode="url"
|
||||
value={feature.url}
|
||||
placeholder="https://…"
|
||||
aria-label="Ссылка подписки"
|
||||
aria-invalid={feature.validationStatus === 'invalid'}
|
||||
onChange={(event) => feature.setUrl(event.target.value)}
|
||||
/>
|
||||
{message && <div className="client-profile-form-status" role="status">{message}</div>}
|
||||
<div className="client-profile-form-actions">
|
||||
{feature.profiles.length > 0 && <button type="button" onClick={feature.cancelAdd}>Отмена</button>}
|
||||
|
||||
Reference in New Issue
Block a user