forked from rDrama/rDrama
fix
parent
6ab22490e1
commit
71d8715d5d
|
@ -32,10 +32,10 @@
|
|||
<div class="col-span-full px-2.5 md:px-0">
|
||||
{% if thing %}
|
||||
|
||||
<div class="my-4 p-3 bg-gray-400 border border-gray-500 shadow-inset-t-white-10 rounded">
|
||||
<div class="my-4 p-3 bg-gray-400 dark:bg-gray-800 border border-gray-500 dark:bg-gray-700 shadow-inset-t-white-10 rounded">
|
||||
<div class="flex items-center space-x-2 mb-2">
|
||||
<img loading="lazy" src="{{thing.author.profile_url}}" class="flex-shrink-0 p-[3px] border w-8 h-8 object-cover bg-white border-gray-300" alt="{{thing.author.profile_url}} avatar"/>
|
||||
<a href="{{thing.author.url}}" class="block text-base font-bold text-black hover:text-red-600 leading-normal">
|
||||
<a href="{{thing.author.url}}" class="block text-base font-bold text-black hover:text-primary leading-normal">
|
||||
@{{thing.author.username}}
|
||||
</a>
|
||||
<span class="text-sm text-gray-500 leading-normal">
|
||||
|
@ -50,16 +50,16 @@
|
|||
<div class="flex flex-col mb-4">
|
||||
<div class="overflow-x-auto">
|
||||
<div class="align-middle inline-block min-w-full">
|
||||
<div class="flex flex-col bg-gray-100 border border-gray-300 rounded overflow-hidden">
|
||||
<div class="flex flex-col bg-gray-100 dark:bg-gray-700 border border-gray-300 dark:border-gray-900 rounded overflow-hidden">
|
||||
<table class="min-w-full">
|
||||
<thead class="bg-gradient-to-t from-gray-200 to-gray-100">
|
||||
<tr>
|
||||
<th scope="col" class="px-6 py-3 text-left text-xs font-bold text-gray-700 uppercase tracking-wider">
|
||||
<th scope="col" class="px-6 py-3 text-left text-xs font-bold text-gray-700 dark:text-gray-500 uppercase tracking-wider">
|
||||
Members
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="bg-gray-100 divide-y divide-gray-300 border-t border-gray-300">
|
||||
<tbody class="bg-gray-100 divide-y divide-gray-300 border-t border-gray-300 dark:border-gray-700">
|
||||
{% if ups %}
|
||||
{% for vote in ups %}
|
||||
<tr class="shadow-inset-t-white-05 odd:bg-gray-200">
|
||||
|
@ -68,7 +68,7 @@
|
|||
<img loading="lazy" src="{{vote.user.profile_url}}" class="flex-shrink-0 p-[3px] border w-12 h-12 object-cover {{ 'bg-red-800 border-red-900' if v.username == vote.user.username else 'bg-white border-gray-300' }}" alt="{{ vote.user.username }} avatar"/>
|
||||
<!-- User Details -->
|
||||
<div class="ml-3">
|
||||
<a class="block font-bold text-black hover:text-red-600" href="/@{{vote.user.username}}">
|
||||
<a class="block font-bold text-black dark:text-gray-200 hover:text-primary" href="/@{{vote.user.username}}">
|
||||
{{vote.user.username}}
|
||||
</a>
|
||||
{% if vote.user.customtitle %}
|
||||
|
@ -107,12 +107,12 @@
|
|||
<table class="min-w-full">
|
||||
<thead class="bg-gradient-to-t from-gray-200 to-gray-100">
|
||||
<tr>
|
||||
<th scope="col" class="px-6 py-3 text-left text-xs font-bold text-gray-700 uppercase tracking-wider">
|
||||
<th scope="col" class="px-6 py-3 text-left text-xs font-bold text-gray-700 dark:text-gray-500 uppercase tracking-wider">
|
||||
Members
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="bg-gray-100 divide-y divide-gray-300 border-t border-gray-300">
|
||||
<tbody class="bg-gray-100 divide-y divide-gray-300 border-t border-gray-300 dark:border-gray-700">
|
||||
{% if downs %}
|
||||
{% for vote in downs %}
|
||||
<tr class="shadow-inset-t-white-05 odd:bg-gray-200">
|
||||
|
@ -121,7 +121,7 @@
|
|||
<img loading="lazy" src="{{vote.user.profile_url}}" class="flex-shrink-0 p-[3px] border w-12 h-12 object-cover {{ 'bg-red-800 border-red-900' if v.username == vote.user.username else 'bg-white border-gray-300' }}" alt="{{ vote.user.username }} avatar"/>
|
||||
<!-- User Details -->
|
||||
<div class="ml-3">
|
||||
<a class="block font-bold text-black hover:text-red-600" href="/@{{vote.user.username}}">
|
||||
<a class="block font-bold text-black hover:text-primary" href="/@{{vote.user.username}}">
|
||||
{{vote.user.username}}
|
||||
</a>
|
||||
{% if vote.user.customtitle %}
|
||||
|
|
Loading…
Reference in New Issue