mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-19 13:23:41 -05:00
layout fix
This commit is contained in:
parent
bd57f1834d
commit
87aaca7ae3
1 changed files with 4 additions and 4 deletions
|
@ -1,12 +1,12 @@
|
||||||
<div class="mt-5 mb-sm-2 mb-md-5 col-sm-{% if class %}{{ class }}{% elif cfg.style.infoBoxLayout == 'row' %}10{% else %}8{% endif %} m-auto{% if not class and cfg.style.infoBoxLayout == 'row' %} d-lg-flex justify-content-between gap-2{% endif %}" id="description">
|
<div class="mt-5 mb-sm-2 mb-md-5 col-lg-{% if class %}{{ class }}{% elif cfg.style.infoBoxLayout == 'row' %}10{% else %}8{% endif %} m-auto{% if not class and cfg.style.infoBoxLayout == 'row' %} d-lg-flex justify-content-between gap-2{% endif %}" id="description">
|
||||||
<div>
|
<div class="col-lg-6 m-auto">
|
||||||
<h1 class="text-center fw-bold" id="title">{{ cfg.instance.title }}</h1>
|
<h1 class="text-center fw-bold" id="title">{{ cfg.instance.title }}</h1>
|
||||||
{% autoescape off %}
|
{% autoescape off %}
|
||||||
<h2 class="h5 text-center fw-light" id="desc">{{ cfg.instance.description | render_markdown }}</h2>
|
<h2 class="h5 text-center fw-light" id="desc">{{ cfg.instance.description | render_markdown }}</h2>
|
||||||
{% endautoescape %}
|
{% endautoescape %}
|
||||||
</div>
|
</div>
|
||||||
{% if len(cfg.instance.rules) > 0 %}
|
{% if len(cfg.instance.rules) > 0 %}
|
||||||
<div class="m-auto col-sm-{% if rules_class %}{{ rules_class }}{% elif cfg.style.infoBoxLayout == 'row' %}6{% else %}8{% endif %}">
|
<div class="m-auto col-lg-{% if rules_class %}{{ rules_class }}{% elif cfg.style.infoBoxLayout == 'row' %}5{% else %}8{% endif %}">
|
||||||
<div class="accordion" id="rules-accordion">
|
<div class="accordion" id="rules-accordion">
|
||||||
<div class="accordion-item">
|
<div class="accordion-item">
|
||||||
<h2 class="accordion-header">
|
<h2 class="accordion-header">
|
||||||
|
@ -23,4 +23,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue