提交 c42c23ae 编写于 作者: C codecalm

bootstrap v5.0-alpha2 fixes

上级 0faf7762
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册