Browse Source

Fixed clipped hover and compressed layout of policy toggles on Self registration page (#16447)

* Fixed clipped hover and compressed layout of policy toggles on Self registration page

* PR comments fixes
pull/16628/head
Maksym Tsymbarov 3 weeks ago
committed by GitHub
parent
commit
c8b3319fec
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 14
      ui-ngx/src/app/modules/home/pages/admin/self-registration.component.html
  2. 1
      ui-ngx/src/app/modules/home/pages/admin/self-registration.component.scss

14
ui-ngx/src/app/modules/home/pages/admin/self-registration.component.html

@ -135,24 +135,24 @@
</fieldset>
<fieldset class="fields-group">
<legend class="group-title" translate>self-registration.privacy-policy-text</legend>
<div class="mat-content flex flex-col">
<mat-slide-toggle formControlName="showPrivacyPolicy">
<div class="flex flex-col gap-2">
<mat-slide-toggle class="pt-2" formControlName="showPrivacyPolicy">
{{ 'self-registration.show-privacy-policy' | translate }}
</mat-slide-toggle>
<div class="tb-privacy-policy mat-elevation-z1">
<div class="tb-privacy-policy">
<editor [init]="hugeRteOptions" id="privacy-policy"
formControlName="privacyPolicy">
</editor>
</div>
</div>
</fieldset>
<fieldset class="fields-group" style="margin-top: 20px">
<fieldset class="fields-group">
<legend class="group-title" translate>self-registration.terms-of-use-text</legend>
<div class="mat-content flex flex-col">
<mat-slide-toggle formControlName="showTermsOfUse">
<div class="flex flex-col gap-2">
<mat-slide-toggle class="pt-2" formControlName="showTermsOfUse">
{{ 'self-registration.show-terms-of-use' | translate }}
</mat-slide-toggle>
<div class="tb-terms-of-use mat-elevation-z1">
<div class="tb-terms-of-use">
<editor [init]="hugeRteOptions" id="terms-of-use"
formControlName="termsOfUse">
</editor>

1
ui-ngx/src/app/modules/home/pages/admin/self-registration.component.scss

@ -11,7 +11,6 @@
}
.tb-privacy-policy, .tb-terms-of-use {
min-height: 380px;
padding: 10px 2px;
}
}

Loading…
Cancel
Save