Merge pull request #4072 from crazyserver/MOBILE-4470

Mobile 4470
main
Dani Palou 2024-05-28 16:26:30 +02:00 committed by GitHub
commit e29c914685
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View File

@ -31,7 +31,7 @@
.addon-mod_quiz-attempt-title-info {
display: flex;
flex-direction: column;
align-items: end;
align-items: flex-end;
justify-content: center;
min-height: 60px;
padding-top: var(--mdl-spacing-2);

View File

@ -20,12 +20,12 @@
<core-loading [hideUntil]="loaded">
<form [formGroup]="pageForm" #editPageForm *ngIf="loaded">
<ion-item class="ion-text-wrap" *ngIf="canEditTitle">
<ion-input [ariaLabel]="'addon.mod_wiki.newpagetitle' | translate" name="title" type="text"
<ion-input labelPlacement="stacked" [label]="'addon.mod_wiki.newpagetitle' | translate" name="title" type="text"
[placeholder]="'addon.mod_wiki.newpagetitle' | translate" formControlName="title" />
</ion-item>
<ion-item>
<ion-label class="sr-only">{{ 'core.content' | translate }}</ion-label>
<ion-label position="stacked" for="wiki_page_content">{{ 'core.content' | translate }}</ion-label>
<core-rich-text-editor [control]="contentControl" [placeholder]="'core.content' | translate" name="wiki_page_content"
[component]="component" [componentId]="cmId" [autoSave]="true" contextLevel="module" [contextInstanceId]="cmId"
elementId="newcontent_editor" [draftExtraParams]="editorExtraParams" />

View File

@ -1,4 +1,6 @@
ion-modal {
--core-header-buttons-background: var(--core-header-toolbar-background);
&.show-modal {
@media only screen and (min-width: 768px) and (min-height: 600px) {
--border-radius: var(--modal-radius);