1
0
mirror of https://github.com/tabler/tabler.git synced 2026-01-08 21:50:08 +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' %} {% assign color = include.color | default: data.color | default: 'green' %}
{% if data %} {% if data %}
<div class="embed-responsive embed-responsive-16x9"> <div class="ratio ratio-16x9">
<div class="embed-responsive-item"> <div>
<div id="map-{{ id }}" class="w-100 h-100"></div> <div id="map-{{ id }}" class="w-100 h-100"></div>
</div> </div>
</div> </div>

View File

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