Skip to content

Commit

Permalink
Preserve prezi placeholder ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
Chralu committed May 19, 2024
1 parent 89707d4 commit d49e03b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions question/do_map.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ <h2>STEP 2 : Check our map of initiatives to see what our community tried in you
<section class="question__domap__items">
<lazy-iframe src="https://prezi.com/p/embed/ccgc-jb5-hsx/" title="Timeline funding and mapping a Use-It map"
style="display: block; width: 100%; aspect-ratio: 9 / 6; border-radius: 6pt; overflow: hidden;">
{% picture /assets/toolkit/prezi_placeholder.jpg --alt {{ site.data.home.part3.image.description }} --parent
slot="placeholder" %}
{% picture /assets/toolkit/prezi_placeholder.jpg --alt {{ site.data.home.part3.image.description }}
--img style="object-fit: cover"
--parent slot="placeholder" %}
</lazy-iframe>
<lazy-iframe style="display: block; overflow: hidden; width: 100%; height: 600px;" title="Map of initiatives"
allow="geolocation ; camera;" frameborder="0" src="https://www.mapotic.com/fund-it-project/embed">
{% picture /assets/toolkit/mapotic_placeholder.jpg --alt {{ site.data.home.part3.image.description }}
--img style="object-fit: cover"
--parent
slot="placeholder" %}
--parent slot="placeholder" %}
</lazy-iframe>
</section>

Expand Down
8 changes: 4 additions & 4 deletions question/other_project.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ <h1>Our <strong>suggestions</strong></h1>
<h2>New sponsors</h2>
<lazy-iframe src="https://prezi.com/p/embed/ccgc-jb5-hsx/" title="Timeline funding and mapping a Use-It map"
style="display: block; width: 100%; aspect-ratio: 9 / 6; border-radius: 6pt; overflow: hidden;">
{% picture /assets/toolkit/prezi_placeholder.jpg --alt {{ site.data.home.part3.image.description }} --parent
slot="placeholder" %}
{% picture /assets/toolkit/prezi_placeholder.jpg --alt {{ site.data.home.part3.image.description }}
--img style="object-fit: cover"
--parent slot="placeholder" %}
</lazy-iframe>

{%- for video_url in site.data.question.other_project.sponsors.videos -%}
Expand All @@ -34,8 +35,7 @@ <h2>NEXT STEPS OF YOUR PROJECT </h2>
allow="geolocation ; camera;" frameborder="0" src="https://www.mapotic.com/fund-it-project/embed">
{% picture /assets/toolkit/mapotic_placeholder.jpg --alt {{ site.data.home.part3.image.description }}
--img style="object-fit: cover"
--parent
slot="placeholder" %}
--parent slot="placeholder" %}
</lazy-iframe>

{%- for resource in site.data.question.other_project.next_steps.resources -%}
Expand Down
3 changes: 1 addition & 2 deletions research/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ <h1>{{site.data.research.title}}</h1>
frameborder="0" src="https://www.mapotic.com/fund-it-project/embed">
{% picture /assets/toolkit/mapotic_placeholder.jpg --alt {{ site.data.home.part3.image.description }}
--img style="object-fit: cover"
--parent
slot="placeholder" %}
--parent slot="placeholder" %}
</lazy-iframe>
</div>
<p>{{site.data.research.database.caption}}</p>
Expand Down
5 changes: 3 additions & 2 deletions toolkit/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ <h3>{{ resource.title }}</h3>
<section>
<lazy-iframe src="https://prezi.com/p/embed/ccgc-jb5-hsx/" title="Timeline funding and mapping a Use-It map"
style="display: block; width: 100%; aspect-ratio: 9 / 6; border-radius: 6pt; overflow: hidden;">
{% picture /assets/toolkit/prezi_placeholder.jpg --alt {{ site.data.home.part3.image.description }} --parent
slot="placeholder" %}
{% picture /assets/toolkit/prezi_placeholder.jpg --alt {{ site.data.home.part3.image.description }}
--img style="object-fit: cover"
--parent slot="placeholder" %}
</lazy-iframe>
</section>
<section class="toolkit__ourvideos page__bottom-content">
Expand Down

0 comments on commit d49e03b

Please sign in to comment.