improve iframe maxheight scrolling

This commit is contained in:
Philipp Kühn
2021-02-02 22:20:16 +01:00
committed by Hans Pagel
parent f27ead9b06
commit c3e1f4d6ee
6 changed files with 21 additions and 9 deletions

View File

@@ -3,7 +3,6 @@
border-radius: 0.75rem;
&__preview {
padding: 1.25rem;
border-top-left-radius: inherit;
border-top-right-radius: inherit;
border-bottom-width: 0;

View File

@@ -5,7 +5,7 @@
</div>
<iframe
class="demo-frame__iframe"
v-resize.quiet="{ scrolling: true }"
v-resize.quiet="{ scrolling: 'omit' }"
:src="`/demos/${name}?${query}`"
width="100%"
height="0"
@@ -79,6 +79,7 @@ export default {
&.is-inline {
border-radius: 0.75rem;
background-color: rgba($colorBlack, 0.03);
margin: -1.25rem;
}
&__loader-wrapper {