ed19
7
I actually lied a little, did a quick test and there’s a little more to it. Made an example, not too difficult to implement. CSS needs to be adjusted to the following:
<style>
/* remove default page margins as they will affect width */
.Page {
margin-right: 0 !important;
margin-left: 0 !important;
}
/* reset positioning of the reusable, as absolute elements (the floating group) anchor to the first positioned parent */
.CustomElement.baTaHaCaN /* your element selector will be different */ {
position: static !important;
}
/* bubble sets width/height using all of the below, so all affect size changes */
#fg_viewport {
width: 100vw !important;
height: 100vh !important;
min-width: 100vw !important;
min-height: 100vh !important;
max-width: 100vw !important;
max-height: 100vh !important;
}
</style>
Apologies for the grotesque number of important tags, I got mad at bubble and gave up trying to write CSS properly, it’s an easy way out. You could probably achieve the same by using more specific selectors (which is generally better practice, though may not matter in your use case).
Editor:
Page:
1 Like