I have a div that is put news, and on the side of this div, has the facebook widget, wanted the size of it to be responsive, ie, the height of it was the same as the news div
My current html:
<div class="row no-gutters">
<div class="col-lg-8 col-md-12" id="noticias">
<h3 class="">Ultimas Notícias</h3>
<div class="card mb-2">
<div class="row no-gutters">
<div class="col-3"
style="background:url(<?php echo $noticias[0]['imagem'] ?>) center;background-size: cover !important"></div>
<div class="col-9">
<div class="card-block mx-2 my-1">
<div class="card-title mb-1">
<div class="text-muted float-right"><?php echo date('d/m/Y', strtotime($noticias[0]['dataenvio'])) ?></div>
<div class="font-weight-bold"><?php echo $noticias[0]['titulo'] ?></div>
</div>
<div class="card-text ">
<?php echo $noticias[0]['mensagem'] ?>
</div>
</div>
</div>
</div>
</div>
<div class="card mb-2">
<div class="row no-gutters">
<div class="col-3"
style="background:url(<?php echo $noticias[1]['imagem'] ?>) center;background-size: cover !important"></div>
<div class="col-9">
<div class="card-block mx-2 my-1">
<div class="card-title mb-1">
<div class="text-muted float-right"><?php echo date('d/m/Y', strtotime($noticias[1]['dataenvio'])) ?></div>
<div class="font-weight-bold"><?php echo $noticias[1]['titulo'] ?></div>
</div>
<div class="card-text ">
<?php echo $noticias[1]['mensagem'] ?>
</div>
</div>
</div>
</div>
</div>
<div class="card mb-2">
<div class="row no-gutters">
<div class="col-3"
style="background:url(<?php echo $noticias[2]['imagem'] ?>) center;background-size: cover !important"></div>
<div class="col-9">
<div class="card-block mx-2 my-1">
<div class="card-title mb-1">
<div class="text-muted float-right"><?php echo date('d/m/Y', strtotime($noticias[2]['dataenvio'])) ?></div>
<div class="font-weight-bold"><?php echo $noticias[2]['titulo'] ?></div>
</div>
<div class="card-text ">
<?php echo $noticias[2]['mensagem'] ?>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=" ml-2 col-lg-2 col-md-12">
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = 'https://connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.12';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-page" data-href="https://www.facebook.com/facebook" data-tabs="timeline" data-small-header="true" data-adapt-container-width="false" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/facebook" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/facebook">Facebook</a></blockquote></div> </div>
</div>