master
kek7198 2021-12-07 18:23:09 -06:00
parent c54cd74912
commit 6df4853ad4
1 changed files with 8 additions and 8 deletions

View File

@ -22,7 +22,7 @@
{% endblock %}
{% block content %}
<div class="col-span-full">
<div class="col-span-full px-2.5 md:px-0">
<h1>Vote Info</h1>
{% if thing %}
@ -34,13 +34,13 @@
<p><b>Upvotes: </b>{{ups | length}}</p>
<p><b>Downvotes: </b>{{downs | length}}</p>
<h2 class="text-2xl font-heading font-bold mb-0">
<h2 class="text-2xl font-heading font-bold">
Upvotes
</h2>
<div class="flex flex-col mb-8">
<div class="-mx-4 overflow-x-auto">
<div class="align-middle inline-block min-w-full">
<div class="flex flex-col bg-gray-200 rounded-b-xl overflow-hidden">
<div class="flex flex-col bg-gray-200 border border-gray-300 rounded overflow-hidden">
<table class="min-w-full">
<thead class="bg-gradient-to-t from-gray-200 to-gray-100">
<tr>
@ -49,7 +49,7 @@
</th>
</tr>
</thead>
<tbody class="bg-gray-100 divide-y divide-gray-300">
<tbody class="bg-gray-100 divide-y divide-gray-300 border-t border-gray-300">
{% for vote in ups %}
<tr class="shadow-inset-t-white-05 odd:bg-gray-200">
<td class="px-6 py-4 whitespace-nowrap">
@ -77,13 +77,13 @@
</div>
</div>
<h2 class="text-2xl font-heading font-bold mb-0">
<h2 class="text-2xl font-heading font-bold">
Downvotes
</h2>
<div class="flex flex-col mb-8">
<div class="flex flex-col">
<div class="-mx-4 overflow-x-auto">
<div class="align-middle inline-block min-w-full">
<div class="flex flex-col bg-gray-200 rounded-b-xl overflow-hidden">
<div class="flex flex-col bg-gray-200 border border-gray-300 rounded overflow-hidden">
<table class="min-w-full">
<thead class="bg-gradient-to-t from-gray-200 to-gray-100">
<tr>
@ -92,7 +92,7 @@
</th>
</tr>
</thead>
<tbody class="bg-gray-100 divide-y divide-gray-300">
<tbody class="bg-gray-100 divide-y divide-gray-300 border-t border-gray-300">
{% for vote in downs %}
<tr class="shadow-inset-t-white-05 odd:bg-gray-200">
<td class="px-6 py-4 whitespace-nowrap">