-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add scaling to <iframe>
s in the preview list so all content can be seen
#37
Conversation
✔️ Deploy Preview for awesome-bhaskara-b7d76c ready! 🔨 Explore the source changes: 8c158b0 🔍 Inspect the deploy log: https://app.netlify.com/sites/awesome-bhaskara-b7d76c/deploys/61283953ab854a00080547b6 😎 Browse the preview: https://deploy-preview-37--awesome-bhaskara-b7d76c.netlify.app/ |
@@ -97,6 +81,19 @@ class SlideList extends LitElement { | |||
document.dispatchEvent(new CustomEvent('slide-selected', { detail: slide })); | |||
} | |||
|
|||
slideLoaded(slide) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only slight downside with this approach is that it causes the scaling to "snap" into place which may be somewhat noticeable.
But, if we apply this style directly the template, then it will also be scaled down in the main window too... so 🤷♂️
<iframe>
s<iframe>
s in the preview list so all content can be seen
Related Issue
resolves #7
Summary of Changes
Before
https://awesome-bhaskara-b7d76c.netlify.app/
After
TODO
16:9
?4:3
? something else? - deferring to default theming and styles for baseline presentation slides #6