Skip to content

Commit

Permalink
Merge pull request #3994 from dpalou/MOBILE-2768
Browse files Browse the repository at this point in the history
Mobile 2768
  • Loading branch information
crazyserver authored Apr 2, 2024
2 parents a8b4a00 + bd05953 commit 99b3f3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/core/features/policy/services/policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ export class CorePolicyService {

for (const i in policies) {
const policy = policies[i];
if (policy.status !== CorePolicyStatus.Active) {
continue;
}

const hasAccepted = policy.acceptance?.status === 1;
const hasDeclined = policy.acceptance?.status === 0;

Expand Down
6 changes: 4 additions & 2 deletions src/theme/theme.base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,10 @@ ion-checkbox.ion-text-wrap::part(label) {
}

.item.ion-text-wrap > ion-label,
.item.ion-text-wrap > ion-checkbox::part(label),
ion-checkbox.ion-text-wrap::part(label) {
.item.ion-text-wrap ion-checkbox::part(label),
ion-checkbox.ion-text-wrap::part(label),
.item.ion-text-wrap ion-radio::part(label),
ion-radio.ion-text-wrap::part(label) {
white-space: normal !important;
}

Expand Down

0 comments on commit 99b3f3d

Please sign in to comment.