feat: add continue button, style

This commit is contained in:
moanos [he/him] 2024-10-21 20:44:04 +02:00
parent 447aad91f9
commit 7c0ce84281
2 changed files with 10 additions and 4 deletions

View File

@ -97,6 +97,10 @@ textarea {
flex-wrap: wrap; flex-wrap: wrap;
} }
.container {
column-gap: 20px;
}
.container-cards { .container-cards {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;

View File

@ -7,10 +7,12 @@
{% block content %} {% block content %}
<div class="card"> <div class="card">
<h1>{{ image.title }}</h1> <h1>{{ image.title }}</h1>
<div class="container container-spaced">
<img src="{{ image.image.url }}" alt="{{ image.alt_text }}"> <img src="{{ image.image.url }}" alt="{{ image.alt_text }}">
<div class="container"> <div class="container">
{% crispy form %} {% crispy form %}
<a class="btn" href="{% url 'index' %}">{% trans 'Continue' %}</a> <a class="btn" href="{% url 'index' %}">{% trans 'Continue' %}</a>
</div> </div>
</div> </div>
</div>
{% endblock %} {% endblock %}