Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spacing of start and end date in event #3439

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
{% translate "These events take place over a longer period of time. E.g. Christmas markets or similar." %}
</div>
<div>
<div class="flex flex-wrap my-3">
<div class="w-1/2 pr-2">
<div class="xl:flex 3xl:block">
<div class="3xl:mt-3 3xl:w-full xl:w-1/2 xl:pr-2 3xl:pr-0">
<label class="mt-0" for="{{ event_form.start_date.id_for_label }}">
{{ event_form.start_date.label }}
</label>
{% render_field event_form.start_date|add_error_class:"border-red-500" %}
</div>
<div class="w-1/2 {% if not event_form.is_long_term.value %} hidden {% endif %}"
<div class="3xl:mt-3 3xl:w-full xl:w-1/2 {% if not event_form.is_long_term.value %} hidden {% endif %}"
id="end-date">
<label class="mt-0" for="{{ event_form.end_date.id_for_label }}">
{{ event_form.end_date.label }}
Expand Down
Loading