Remove padding from outside the iframe via specific layout
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{% extends 'layouts/base.njk' %}
|
||||
|
||||
{% block content %}
|
||||
<main id="main-content" tabindex="-1">
|
||||
<article class="[ post ]">
|
||||
<div class="[ post__body ] [ wrapper ] simulateur">
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
</article>
|
||||
{% include "partials/components/contact-form.njk" %}
|
||||
</main>
|
||||
{% endblock %}
|
||||
@@ -1,14 +1,15 @@
|
||||
---
|
||||
title: 'Simulateur de revenus'
|
||||
permalink: '/simulateur/index.html'
|
||||
layout: 'layouts/simulateur.njk'
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
|
||||
<div class="iframe-container">
|
||||
<iframe
|
||||
id="inlineFrameExample"
|
||||
id="simulateurFrame"
|
||||
class="responsive-iframe"
|
||||
title="Exemple de cadre intégré"
|
||||
src="https://simulateur.astrolabe.coop">
|
||||
title="Simulateur de revenus en CAE"
|
||||
src="http://localhost:5173">
|
||||
</iframe>
|
||||
</div>
|
||||
@@ -15,3 +15,7 @@
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.simulateur {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user