feat(web): shrink table
This commit is contained in:
@@ -141,6 +141,7 @@
|
|||||||
flex flex-wrap
|
flex flex-wrap
|
||||||
items-center justify-center p-10 gap-2
|
items-center justify-center p-10 gap-2
|
||||||
overflow-x-hidden
|
overflow-x-hidden
|
||||||
|
select-none
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
|
|||||||
@@ -48,9 +48,11 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{:then d}
|
{:then d}
|
||||||
<div class="rounded-lg border border-gray-500 shadow-sm max-w-full">
|
<div
|
||||||
|
class="select-none rounded-lg border border-gray-500 shadow-sm max-w-full"
|
||||||
|
>
|
||||||
<table class="w-full text-left text-sm text-gray-700">
|
<table class="w-full text-left text-sm text-gray-700">
|
||||||
<thead class="bg-gray-800 text-xs uppercase text-gray-600">
|
<thead class="divide-y divide-x bg-gray-800 text-xs text-gray-600">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="px-4 py-3" title="Rank the solver assigned"></th>
|
<th class="px-4 py-3" title="Rank the solver assigned"></th>
|
||||||
<th class="px-4 py-3" title="The best words">Word</th>
|
<th class="px-4 py-3" title="The best words">Word</th>
|
||||||
@@ -72,7 +74,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody class="divide-y divide-gray-500">
|
<tbody class="divide-y divide-x divide-gray-500">
|
||||||
{#each d.stats as s, i}
|
{#each d.stats as s, i}
|
||||||
<tr
|
<tr
|
||||||
class="transition-colors hover:bg-gray-50"
|
class="transition-colors hover:bg-gray-50"
|
||||||
|
|||||||
Reference in New Issue
Block a user