Adjust classic view iframe sizing

- adjust sizing to fix
-- slight pixel difference after the action bar
-- before the footer
This commit is contained in:
Clemente Raposo 2020-05-21 17:16:02 +01:00 committed by Dillon-Brown
parent dcc814dc24
commit d567ec9baf
2 changed files with 3 additions and 2 deletions

View file

@ -140,6 +140,7 @@ export class IframeResizeHandlerHandler {
}
protected resizeIFrame(size: number): void {
this.iframe.style.height = size + 'px';
const adjustedValue = size + 1;
this.iframe.style.height = adjustedValue + 'px';
}
}

View file

@ -64,7 +64,7 @@ pre {
@media only screen and (min-width: $breakpoint-large) {
.classic-view-container iframe {
padding-top: 6.8em
padding-top: 6.7em
}
}