Fix Render

This commit is contained in:
2024-12-21 16:06:23 +01:00
parent 41a3b75c97
commit 8c6f5f5729
2 changed files with 4 additions and 19 deletions

View File

@@ -42,7 +42,7 @@
} }
</script> </script>
<div> <div class="p-3 bg-gray-200 dark:bg-neutral-800 rounded-2xl w-3/4 mx-auto">
<table> <table>
<thead> <thead>
<tr class="font-bold border-b"> <tr class="font-bold border-b">
@@ -71,9 +71,3 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<style lang="scss">
div {
@apply p-3 bg-gray-200 dark:bg-neutral-800 rounded-2xl w-3/4 mx-auto;
}
</style>

View File

@@ -48,8 +48,8 @@
}).sort((a, b) => b.points - a.points); }).sort((a, b) => b.points - a.points);
</script> </script>
<div> <div class="p-3 bg-gray-200 dark:bg-neutral-800 rounded-2xl w-3/4 mx-auto">
<table> <table class="w-full">
<thead> <thead>
<tr class="font-bold border-b"> <tr class="font-bold border-b">
{#each Array(rows) as i (i)} {#each Array(rows) as i (i)}
@@ -70,12 +70,3 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<style lang="scss">
table {
@apply w-full;
}
div {
@apply p-3 bg-gray-200 dark:bg-neutral-800 rounded-2xl w-3/4 mx-auto;
}
</style>