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.
This commit is contained in:
		
							parent
							
								
									d718343cde
								
							
						
					
					
						commit
						c8b912bfec
					
				
					 2 changed files with 16 additions and 22 deletions
				
			
		|  | @ -57,9 +57,10 @@ | |||
| </div> | ||||
| 
 | ||||
| <div class="schedule-page bg-secondary text-primary pt-4 pb-4 mb-0"> | ||||
|   <div class="container-fluid"> | ||||
|     <div class="row justify-content-center"> | ||||
|       <div class="tab-content schedule-wrapper"> | ||||
|   <div class="container"> | ||||
|     <div class="row"> | ||||
|       <div class="col"> | ||||
|         <div class="tab-content"> | ||||
|           {% for section in sections %} | ||||
|           {% for timetable in section.days %} | ||||
|           <div class="tab-pane fade {% if timetable.day.date|date:'Y-m-d' == '2019-01-23' %}show active{% endif %}" id="{{ section.schedule.section.slug }}-{{ timetable.day.date|date:"l"|lower}}" | ||||
|  | @ -77,6 +78,7 @@ | |||
|       </div> | ||||
|     </div> | ||||
|   </div> | ||||
| </div> | ||||
| {% endblock %} | ||||
| 
 | ||||
| {%block footer_class %}footer-no-margin{% endblock %} | ||||
|  |  | |||
|  | @ -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; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Joel Addison
						Joel Addison