Skip to content

Commit d869b4a

Browse files
committed
fix - cdc form iframe
1 parent ff31217 commit d869b4a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

cdc.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ <h1 class="text-brown-500 mb-4 fs-1">CÓDIGO DE CONDUTA</h1>
128128
O Código de Conduta acima foi baseado na versão desenvolvida pela Python Brasil & APyB (Associação Python Brasil) -
129129
<a class="link-dark" href="https://python.org.br/cdc/">Código de Conduta da Python Brasil</a>
130130
</quoteblock>
131-
132131
</div>
133132
</article>
134133

@@ -190,7 +189,7 @@ <h1 class="modal-title fs-5" id="cdc-form-label">CÓDIGO DE CONDUTA</h1>
190189
</div>
191190
<div class="modal-body p-0">
192191
<img src="./static/img/banners/cdc.jpg" class="w-100" alt="Código de Conduta">
193-
<iframe src="https://docs.google.com/forms/d/e/1FAIpQLSdG8E5KVW7OZKfTFFgygSd_28QjasqXgjt7auEeDRCGBI4CiQ/viewform?embedded=true" frameborder="0" marginheight="0" marginwidth="0">Carregando…</iframe>
192+
<iframe id="cdc-iframe" src="https://docs.google.com/forms/d/e/1FAIpQLSdG8E5KVW7OZKfTFFgygSd_28QjasqXgjt7auEeDRCGBI4CiQ/viewform?embedded=true">Carregando…</iframe>
194193
</div>
195194
</div>
196195
</div>

static/css/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,6 @@
186186

187187
#cdc-form iframe {
188188
width: 100%;
189-
height: calc(90vh - 3rem) !important;
190-
overflow: hidden;
189+
height: 65vh;
190+
margin-top: 10px;
191191
}

0 commit comments

Comments
 (0)