Fix Maintenance css
This commit is contained in:
@@ -73,5 +73,5 @@ input[aria-invalid="true"]:not([readonly]) {
|
||||
}
|
||||
|
||||
textarea{
|
||||
font-family: 'Work Sans', sans-serif;
|
||||
font-family: 'Work Sans', sans-serif;
|
||||
}
|
||||
|
||||
@@ -730,4 +730,10 @@ sans-serif;
|
||||
background-color: @color-clear-blue ;
|
||||
color: #fff;
|
||||
}
|
||||
iframe{
|
||||
position: absolute;
|
||||
height: calc(~'100%' - @modal-header-height + 2px);
|
||||
width:100%;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
@@ -684,6 +684,12 @@
|
||||
background-color: #1791ff;
|
||||
color: #fff;
|
||||
}
|
||||
.modal.modal-iframe iframe {
|
||||
position: absolute;
|
||||
height: calc(100% - 66px);
|
||||
width: 100%;
|
||||
border: none;
|
||||
}
|
||||
.row {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<modal type="modal-iframe">
|
||||
<button class="close" slot="header-buttons" @click="close()"><i class="fa fa-remove"></i></button>
|
||||
<!-- <object data="/api/maintenance_manager/attachment/2" type="application/pdf"> -->
|
||||
<iframe style="position: absolute; height: 100%; width:100%; border: none" frameborder="0" :src="content" allowfullscreen></iframe>
|
||||
<iframe id="iframe-attachment" frameborder="0" :src="content" ></iframe>
|
||||
<!-- </object> -->
|
||||
|
||||
</modal>
|
||||
|
||||
Reference in New Issue
Block a user