Skip to content
Snippets Groups Projects
Commit 273b9e0d authored by Jérémie BRISON's avatar Jérémie BRISON
Browse files

fix(editForm) : add header name structure on page too

parent d203667a
No related branches found
No related tags found
4 merge requests!85Recette,!84Dev,!74Fix/claim with form,!72Feat/edit structure
......@@ -5,6 +5,9 @@
(closed)="hasRedirectionAccepted($event)"
></app-modal-confirmation>
<div class="content" *ngIf="!isLoading" [ngClass]="{ editMode: isEditMode }">
<div class="headerEditMode" *ngIf="isEditMode">
<h2>Modification de {{ editForm.get('structureName').value }}</h2>
</div>
<div class="returnBtnSection" *ngIf="isEditMode && currentPage != 0">
<button class="btn-primary previous" (click)="goToSpecificPage(0, false)">
<div class="rowBtn" fxLayout="row" fxLayoutAlign="center center">
......@@ -44,7 +47,6 @@
</div>
</div>
<div *ngIf="currentPage == 0 && isEditMode" class="editHome page" fxLayout="column" fxLayoutAlign="space-between">
<h2>Modification de la structure</h2>
<div>
<div class="summary" *ngFor="let page of pagesValidation; let index = index">
<div
......
......@@ -82,7 +82,7 @@ h3 {
.content {
.editHome {
height: calc(
100vh - #{$header-height} - #{$footer-height} - 81px - 1px
100vh - #{$header-height} - #{$footer-height} - 81px - 1px - 55px
) !important; // -1px because of header border
}
@media #{$tablet} {
......@@ -93,7 +93,7 @@ h3 {
); // -1px because of header border
}
.editHome {
height: calc(100vh - #{$header-height-phone} - 87px - 1px) !important; // -1px because of header border
height: calc(100vh - #{$header-height-phone} - 87px - 1px - 55px) !important; // -1px because of header border
}
}
}
......@@ -495,3 +495,12 @@ img {
border: 0;
}
}
.headerEditMode {
max-width: 960px;
margin: auto;
h2 {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment