diff --git a/src/pretix/presale/templates/pretixpresale/event/fragment_event_info.html b/src/pretix/presale/templates/pretixpresale/event/fragment_event_info.html index a617c6a75e..46142798e0 100644 --- a/src/pretix/presale/templates/pretixpresale/event/fragment_event_info.html +++ b/src/pretix/presale/templates/pretixpresale/event/fragment_event_info.html @@ -1,17 +1,22 @@ {% load i18n %} +{% load icon %} {% load eventurl %} {% if ev.location and show_location %}
{% trans "Where does the event happen?" %} +
+{{ ev.location|linebreaksbr }}
{% trans "When does the event happen?" %} +
+
{{ ev.get_date_range_display_as_html }}
{% if event.settings.show_times %}
diff --git a/src/pretix/static/pretixpresale/scss/main.scss b/src/pretix/static/pretixpresale/scss/main.scss
index ded92fe9e2..c648922e3c 100644
--- a/src/pretix/static/pretixpresale/scss/main.scss
+++ b/src/pretix/static/pretixpresale/scss/main.scss
@@ -397,27 +397,26 @@ body.loading .container {
}
.info-row {
- & > .fa {
+ position: relative;
+ min-height: 30px;
+ margin-bottom: 10px;
+
+ .info-row-icon {
+ position: absolute;
+ top: -5px;
+ left: 0;
font-size: 26px;
color: $brand-primary;
- float: left;
margin-top: 3px;
- }
- & > img {
width: 26px;
height: auto;
- float: left;
- margin-top: 3px;
- position: relative;
- left: 3.71423px; /* Position analog to what fa-fw does */
+ .fa {
+ vertical-align: top;
+ }
}
p {
- min-height: 30px;
margin-left: 40px;
}
- p:first-child {
- margin-top: 0;
- }
}
@media (min-width: $screen-md-min) {