From c8b912bfec557ce83d2b0e1f11c7dbe0f030d224 Mon Sep 17 00:00:00 2001 From: Joel Addison Date: Mon, 21 Jan 2019 15:50:54 +1300 Subject: [PATCH] Fix padding for schedule Add column to layout so mobile has padding. Use container to wrap schedule so padding and centred table applies to all views. --- .../schedule/schedule_conference.html | 30 ++++++++++--------- static/src/scss/app.scss | 8 ----- 2 files changed, 16 insertions(+), 22 deletions(-) diff --git a/pinaxcon/templates/symposion/schedule/schedule_conference.html b/pinaxcon/templates/symposion/schedule/schedule_conference.html index a1a877ce..90216692 100644 --- a/pinaxcon/templates/symposion/schedule/schedule_conference.html +++ b/pinaxcon/templates/symposion/schedule/schedule_conference.html @@ -57,22 +57,24 @@
-
-
-
- {% for section in sections %} - {% for timetable in section.days %} -
-
- {% include "symposion/schedule/_grid.html" %} -
-
- {% include "symposion/schedule/_mobile.html" %} +
+
+
+
+ {% for section in sections %} + {% for timetable in section.days %} +
+
+ {% include "symposion/schedule/_grid.html" %} +
+
+ {% include "symposion/schedule/_mobile.html" %} +
+ {% endfor %} + {% endfor %}
- {% endfor %} - {% endfor %}
diff --git a/static/src/scss/app.scss b/static/src/scss/app.scss index 3458ea95..0eedd932 100644 --- a/static/src/scss/app.scss +++ b/static/src/scss/app.scss @@ -713,14 +713,6 @@ div.talk-abstract { } } -@include media-breakpoint-up(xl) { - .schedule-wrapper { - width: 80%; - min-width: 1140px; - max-width: 3000px; - } -} - @include media-breakpoint-up(sm) { div.footer-center { text-align: center;