Skip to content

Commit

Permalink
Style calendar for small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
abkruse committed Dec 29, 2016
1 parent 66ab005 commit 8eb3c7e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
26 changes: 26 additions & 0 deletions members/static/css/members.css
Original file line number Diff line number Diff line change
Expand Up @@ -2163,6 +2163,15 @@ footer.sticky-footer {
min-width: 515px;
}

.fc-center {
display: block !important;
text-align: center;
}

.fc-left, .fc-right {
margin-bottom: 5%;
}

footer#footer.main-footer {
background: RGBA(61, 61, 61, .9);
bottom: 0;
Expand All @@ -2183,4 +2192,21 @@ footer.sticky-footer {
.prof-img, .edit-img, .locked-img{
margin-left: 5%;
}

.fc-right {
display: none;
}

.fc-left {
margin-bottom: 5%;
}

.fc-scroller, .fc-view-container {
height: 325px !important;
}

.fc-scroller {
overflow-y: visible;
overflow-x: scroll !important;
}
}
4 changes: 1 addition & 3 deletions members/templates/members/calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ <h2 id='add-event-header'>Add Event to Public Calendar</h2>
<script>
$(document).ready(function() {
$('.button-collapse').sideNav();
$('.fc-left').addClass('col s12');
$('.fc-right').addClass('col s12');


$('.timepicker').timepicker({
timeFormat: 'h:mm p',
interval: 30,
Expand Down

0 comments on commit 8eb3c7e

Please sign in to comment.