1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-26 11:16:12 +04:00

bootstrap v5.0-alpha2 fixes

This commit is contained in:
codecalm
2020-10-24 13:05:50 +02:00
parent 0faf7762e7
commit c42c23ae0f
2 changed files with 4 additions and 4 deletions

View File

@@ -3,8 +3,8 @@
{% assign color = include.color | default: data.color | default: 'green' %}
{% if data %}
<div class="embed-responsive embed-responsive-16x9">
<div class="embed-responsive-item">
<div class="ratio ratio-16x9">
<div>
<div id="map-{{ id }}" class="w-100 h-100"></div>
</div>
</div>

View File

@@ -2,8 +2,8 @@
{% assign data = site.data.maps[id] %}
{% if data %}
<div class="embed-responsive embed-responsive-{{ data.ratio | default: include.ratio | default: '16x9' }}">
<div class="embed-responsive-item">
<div class="ratio ratio-{{ data.ratio | default: include.ratio | default: '16x9' }}">
<div>
<div id="map-{{ id }}" class="w-100 h-100{% if data.card %} rounded{% endif %}"></div>
</div>
</div>