Improve styling
This commit is contained in:
parent
fcff7ca839
commit
2530ee629a
@ -1,6 +1,6 @@
|
|||||||
<h1 class="text-3xl font-medium">Attendance Tracker</h1>
|
<h1 class="text-3xl font-medium">Attendance Tracker</h1>
|
||||||
|
|
||||||
<div class="px-4 sm:px-6 lg:px-8">
|
<div class="px-4 sm:px-6 lg:px-8 flex flex-col lg:flex-row gap-4">
|
||||||
<% @courses.each do |course| %>
|
<% @courses.each do |course| %>
|
||||||
<div class="mt-8 flow-root">
|
<div class="mt-8 flow-root">
|
||||||
<div class="-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8">
|
<div class="-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8">
|
||||||
@ -61,7 +61,7 @@
|
|||||||
Start
|
Start
|
||||||
</button>
|
</button>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to "Open recording", lecture.recording.recording_url %>
|
<%= link_to "Open recording", lecture.recording&.recording_url %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user