Fixed layout problems
This commit is contained in:
@@ -143,7 +143,7 @@
|
|||||||
|
|
||||||
<h1 class="text-2xl font-bold mb-4 mt-2 text-center">All Events</h1>
|
<h1 class="text-2xl font-bold mb-4 mt-2 text-center">All Events</h1>
|
||||||
|
|
||||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 max-w-2xl mx-auto">
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 max-w-2xl mx-auto mb-10">
|
||||||
{#if loading}
|
{#if loading}
|
||||||
<!-- Loading placeholders -->
|
<!-- Loading placeholders -->
|
||||||
{#each Array(4) as _}
|
{#each Array(4) as _}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="border border-gray-300 rounded-lg overflow-hidden h-[200px]">
|
<div class="border border-gray-300 rounded-lg overflow-hidden h-[200px] mb-4">
|
||||||
<div class="h-full flex flex-col">
|
<div class="h-full flex flex-col">
|
||||||
{#if scan_state === ScanState.scanning}
|
{#if scan_state === ScanState.scanning}
|
||||||
<div class="bg-gray-50 p-4 flex-1 flex flex-col justify-center items-center">
|
<div class="bg-gray-50 p-4 flex-1 flex flex-col justify-center items-center">
|
||||||
|
|||||||
Reference in New Issue
Block a user