diff --git a/src/app/app.component.html b/src/app/app.component.html index 03c8e9eb..493aad1d 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -5,7 +5,7 @@
- le contenu de side nav +
diff --git a/src/app/core/services/poll.service.ts b/src/app/core/services/poll.service.ts index e17b1d6e..d0ea9a0f 100644 --- a/src/app/core/services/poll.service.ts +++ b/src/app/core/services/poll.service.ts @@ -115,11 +115,11 @@ export class PollService implements Resolve { let minlengthValidation = environment.production ? 12 : 0; let form = this.fb.group({ title: ['', [Validators.required, Validators.minLength(minlengthValidation)]], - creatorPseudo: ['', [Validators.required]], + creatorPseudo: ['', []], created_at: [new Date(), [Validators.required]], creatorEmail: ['', [Validators.required]], custom_url: [this.uuidService.getUUID(), [Validators.required]], - description: ['', [Validators.required]], + description: ['', []], password: ['', []], choices: new FormArray([]), whoModifiesAnswers: ['', [Validators.required]], diff --git a/src/styles/partials/_forms.scss b/src/styles/partials/_forms.scss index 62c5bb52..33b9a998 100644 --- a/src/styles/partials/_forms.scss +++ b/src/styles/partials/_forms.scss @@ -59,6 +59,7 @@ select, .select { border: solid 1px $font_color; } + input, select, textarea { @@ -301,13 +302,15 @@ mat-checkbox { line-height: 1.25rem; } } -.mat-drawer-container { - .step-info { - .step-title-poll { - font-size: 0.85rem !important; - color: $d-neutral !important; - } - } + +h2.step-title-poll { + font-size: 0.85rem !important; + color: $d-neutral !important; +} + +h2.step-title-poll { + font-size: 0.85rem !important; + color: $d-neutral !important; } // resume de la création de sondage .step-resume { @@ -349,6 +352,7 @@ mat-checkbox { .block-resume { @extend .rounded-block; } + label { font-family: $default_font; color: $font_color;