jumbotron edit field css

master
Boris Voropaev 2023-11-21 11:56:34 +03:00
parent cdaf1ef757
commit d7b5cf8b0f
3 changed files with 11 additions and 6 deletions

View File

@ -6,8 +6,10 @@
</div>
</div>
<div class="space jumbotron-edit-field" *ngIf="editable">
<div class="page-corral jumbotron-edit-field-row switch-host" (click)="toggleEditMode()">
Режим редактирования
<switch [val]="editMode"></switch>
<div class="page-corral jumbotron-edit-field-row">
<div class="switch-host" (click)="toggleEditMode()">
Режим редактирования
<switch [val]="editMode"></switch>
</div>
</div>
</div>

View File

@ -6,6 +6,6 @@
flex-wrap: wrap;
cards-section-item {
width: 25%;
width: 240px
}
}

View File

@ -45,10 +45,13 @@ jumbotron{
height: 60px;
.jumbotron-edit-field-row{
max-width: calc($page-width + 2 * $pxl);
div{
display: flex;
align-items: center;
gap: $pxs;
}
display: flex;
align-items: center;
justify-content: flex-end;
gap: $pxs;
}
}
}