Fix Maintenance css

This commit is contained in:
Nicola Carminati
2018-06-25 09:26:23 +02:00
parent 7955c44d14
commit f9ec7df62e
4 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -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;
}
}
+6
View File
@@ -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>