misc: improve responsiveness
This commit is contained in:
1 parent
a938f70a4e
commit
08c4124c5e
2 files changed
+6
-6
No files matched your search
@@ -16,10 +16,10 @@
|
||||
<div class="flex flex-col gap-4">
|
||||
<h1 class="font-bold text-2xl">Modlog</h1>
|
||||
{#if data.modlog}
|
||||
<div class="">
|
||||
<div style="width:100%; overflow-x: auto;">
|
||||
<table
|
||||
class="table overflow-x-auto table-fixed relative"
|
||||
style="width: 100%;"
|
||||
style="min-width: 800px;"
|
||||
>
|
||||
<colgroup class="table-fixed">
|
||||
<col width="20%" />
|
||||
@@ -31,8 +31,8 @@
|
||||
<col width="50%" />
|
||||
<col width="30%" />
|
||||
</colgroup>
|
||||
<thead class="text-left sticky top-16">
|
||||
<tr class="sticky top-16 rounded-t-lg overflow-hidden">
|
||||
<thead class="text-left sticky top-0">
|
||||
<tr class="rounded-t-lg overflow-hidden">
|
||||
<th>Time</th>
|
||||
<th>Moderator</th>
|
||||
<th>Action</th>
|
||||
|
||||
@@ -31,11 +31,11 @@
|
||||
<span class="font-bold">
|
||||
{#if item.actionName == 'ban'}
|
||||
<span class="flex items-center gap-1 text-red-600 dark:text-red-400">
|
||||
<Icon src={XCircle} size="16" mini class="inline" /> Ban
|
||||
<Icon src={XCircle} size="16" mini class="inline flex-shrink-0" /> Ban
|
||||
</span>
|
||||
{:else if item.actionName == 'postRemoval' || item.actionName == 'commentRemoval'}
|
||||
<span class="flex items-center gap-1 text-red-600 dark:text-red-400">
|
||||
<Icon src={Trash} size="16" mini class="inline" /> Removal
|
||||
<Icon src={Trash} size="16" mini class="inline flex-shrink-0" /> Removal
|
||||
</span>
|
||||
{:else}
|
||||
{item.actionName}
|
||||
|
||||
Reference in new issue
Block a user