Fix min-height of PNP settings row

This commit is contained in:
Fedor Indutny 2023-03-08 16:35:25 -08:00 committed by GitHub
parent db86e29a92
commit 88bc146f0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View file

@ -161,6 +161,10 @@
margin: 0; margin: 0;
margin-bottom: 8px; margin-bottom: 8px;
} }
&--pnp-sharing {
min-height: 185px;
}
} }
&__settings-row:not(:last-child) { &__settings-row:not(:last-child) {

View file

@ -1104,7 +1104,13 @@ export function Preferences({
</div> </div>
</div> </div>
<SettingsRow title={i18n('icu:Preferences__pnp__sharing--title')}> <SettingsRow
title={i18n('icu:Preferences__pnp__sharing--title')}
className={classNames('Preferences__settings-row--pnp-sharing', {
'Preferences__settings-row--pnp-sharing--nobody':
whoCanSeeMe === PhoneNumberSharingMode.Nobody,
})}
>
<SettingsRadio <SettingsRadio
onChange={onWhoCanSeeMeChange} onChange={onWhoCanSeeMeChange}
options={[ options={[