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 4831e90 + 3739dee commit 7f5d2b2
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 7f5d2b2

Please sign in to comment.