diff --git a/src/addons/messages/components/conversation-info/conversation-info.html b/src/addons/messages/components/conversation-info/conversation-info.html index 1e8b058d3..f18c17a89 100644 --- a/src/addons/messages/components/conversation-info/conversation-info.html +++ b/src/addons/messages/components/conversation-info/conversation-info.html @@ -23,7 +23,8 @@ onError="this.src='assets/img/group-avatar.svg'">

- + +

- + + - {{ 'addon.notes.personalnotes' | translate }} + {{ 'addon.notes.personalnotes' | translate }} {{ 'addon.notes.coursenotes' | translate }} {{ 'addon.notes.sitenotes' | translate }} diff --git a/src/addons/notes/services/notes-sync.ts b/src/addons/notes/services/notes-sync.ts index 8d20bcb8d..bfe3aecd2 100644 --- a/src/addons/notes/services/notes-sync.ts +++ b/src/addons/notes/services/notes-sync.ts @@ -25,6 +25,8 @@ import { AddonNotesDBRecord, AddonNotesDeletedDBRecord } from './database/notes' import { AddonNotes, AddonNotesCreateNoteData } from './notes'; import { AddonNotesOffline } from './notes-offline'; import { CoreArray } from '@singletons/array'; +import { CoreAnyError } from '@classes/errors/error'; +import { CoreTextUtils } from '@services/utils/text'; /** * Service to sync notes. @@ -154,7 +156,7 @@ export class AddonNotesSyncProvider extends CoreSyncBaseProvider[] = []; // Format the notes to be sent. @@ -233,7 +235,7 @@ export class AddonNotesSyncProvider extends CoreSyncBaseProvider Translate.instant('addon.notes.warningnotenotsent', { course: 'fullname' in course ? course.fullname : courseId, // @deprecated since 4.3. - error: error, + error: CoreTextUtils.getErrorMessageFromError(error), })); } diff --git a/src/core/components/message/message.scss b/src/core/components/message/message.scss index b5e1c10dc..f8395258c 100644 --- a/src/core/components/message/message.scss +++ b/src/core/components/message/message.scss @@ -96,7 +96,7 @@ } .delete-button { - min-height: initial; + min-height: 36px; line-height: initial; margin: 0px; align-self: flex-end; diff --git a/src/core/features/policy/pages/site-policy/site-policy.ts b/src/core/features/policy/pages/site-policy/site-policy.ts index afe259d68..fd5d18c04 100644 --- a/src/core/features/policy/pages/site-policy/site-policy.ts +++ b/src/core/features/policy/pages/site-policy/site-policy.ts @@ -342,7 +342,7 @@ export class CorePolicySitePolicyPage implements OnInit, OnDestroy { const scrollElement = await this.content?.getScrollElement(); - this.hasScroll = !!scrollElement && scrollElement.scrollHeight > scrollElement.clientHeight; + this.hasScroll = !!scrollElement && scrollElement.scrollHeight > scrollElement.clientHeight + 2; // Add 2px of error margin. } /** diff --git a/src/theme/components/ion-alert.scss b/src/theme/components/ion-alert.scss new file mode 100644 index 000000000..1ceabab86 --- /dev/null +++ b/src/theme/components/ion-alert.scss @@ -0,0 +1,7 @@ +ion-alert { + &.md .alert-button { + // Remove padding from alert buttons, they already have min accessibility height. + padding-top: 0px; + padding-bottom: 0px; + } +} diff --git a/src/theme/theme.scss b/src/theme/theme.scss index 04e068e5c..77646e4ff 100644 --- a/src/theme/theme.scss +++ b/src/theme/theme.scss @@ -29,6 +29,7 @@ /* Ionic components overrides */ html { @import "components/ion-action-sheet.scss"; + @import "components/ion-alert.scss"; @import "components/ion-back-button.scss"; @import "components/ion-button.scss"; @import "components/ion-card.scss";