Zoom correct des images uploadées dans le
profil utilisateur.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
.slide-modal {
|
||||
.imgmodal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
z-index: 1000;
|
||||
padding-top: 10px;
|
||||
left: 0;
|
||||
top: 0;
|
||||
@@ -11,12 +11,15 @@
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
.slide-modal-content {
|
||||
/* position: relative; */
|
||||
.imgbox {
|
||||
display: grid;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.center-fit {
|
||||
max-width: 100%;
|
||||
max-height: 100vh;
|
||||
margin: auto;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
}
|
||||
|
||||
.close {
|
||||
|
||||
@@ -40,9 +40,9 @@
|
||||
<mat-paginator [length]="resultsLength" [pageSize]="10"></mat-paginator>
|
||||
</div>
|
||||
|
||||
<div id="imgModal" class="slide-modal" [ngStyle]="{'display': (showPopin === true) ? 'block' : 'none'}">
|
||||
<div class="imgmodal" [ngStyle]="{'display': (showPopin === true) ? 'block' : 'none'}">
|
||||
<span class="close cursor" (click)="closeModal()">×</span>
|
||||
<div class="slide-modal-content">
|
||||
<img class="images" src="{{ popinImage }}" (click)="closeModal()" style="width: 100%; display: table;">
|
||||
<div class="imgbox">
|
||||
<img class="center-fit cursor" src="{{ popinImage }}" (click)="closeModal()">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user