improve iframe maxheight scrolling
This commit is contained in:
committed by
Hans Pagel
parent
f27ead9b06
commit
c3e1f4d6ee
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user