Skip to content

Commit

Permalink
Prevent calendar notes being covered in listMonth view when no events
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhuang committed May 30, 2018
1 parent 1a21d6e commit 09b5d5d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions course/templates/course/calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
<script src='{% static "blueimp-tmpl/js/tmpl.min.js" %}'></script>
{% endif %}

{% if pperm.edit_events %}
<style>
<style>
{% if pperm.edit_events %}
.mode-toggle[data-edit-mode=off] {
display: none;
}
Expand All @@ -44,8 +44,12 @@
left: 0;
z-index: 999;
}
</style>
{% endif %}
{% endif %}
{# prevent relate-calendar-notes being covered when there's no event in listMonth view #}
.fc-list-empty-wrap2{
position: relative !important;
}
</style>

{% endblock %}

Expand Down

0 comments on commit 09b5d5d

Please sign in to comment.