Commit 485c9d4d authored by Zac Wood's avatar Zac Wood

Merge branch '36-fixExpandedArrow' into 'master'

Fixed expand/minimize text and arrow direction on newly loaded page

Closes #36

See merge request !43
parents e9a13cdc d8089bcc
Pipeline #4002 passed with stage
in 2 minutes and 43 seconds
......@@ -41,10 +41,17 @@
<p><strong><%= first %>:</strong> <%= prereqs %> <sub><%= note %></sub></p>
<% end %>
<div class="d-block" style="text-align: center">
<p id="chevron-label" style="margin-bottom:-4px; font-size: 10px;">Expand</p>
<i id="course-chevron" class="fas fa-chevron-down"></i>
</div>
<% if expanded %>
<div class="d-block" style="text-align: center">
<p id="chevron-label" style="margin-bottom:-4px; font-size: 10px;">Minimize</p>
<i id="course-chevron" class="fas fa-chevron-up"></i>
</div>
<% else %>
<div class="d-block" style="text-align: center">
<p id="chevron-label" style="margin-bottom:-4px; font-size: 10px;">Expand</p>
<i id="course-chevron" class="fas fa-chevron-down"></i>
</div>
<% end %>
<!-- List of Course Sections -->
<div class="list-group list-group-flush sections" style="display: <%= expanded ? "flex" : "none" %>">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment