Add Table Styles
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
import {window} from "./util.ts";
|
||||
import {astroI18n, t} from "astro-i18n";
|
||||
import type {EventFight, ExtendedEvent} from "@type/event";
|
||||
import "@styles/table.css";
|
||||
|
||||
export let event: ExtendedEvent;
|
||||
export let group: string;
|
||||
@@ -67,9 +68,6 @@
|
||||
</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;
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
import {window} from "./util.ts";
|
||||
import {t} from "astro-i18n";
|
||||
import type {ExtendedEvent} from "@type/event.ts";
|
||||
import "@styles/table.css"
|
||||
|
||||
export let event: ExtendedEvent;
|
||||
export let group: string;
|
||||
|
||||
@@ -18,13 +18,11 @@
|
||||
-->
|
||||
|
||||
<script lang="ts">
|
||||
import {Button, Modal, Navbar, NavBrand, NavHamburger, NavLi, NavUl, Spinner} from "flowbite-svelte";
|
||||
import {replace} from "svelte-spa-router";
|
||||
import {Button, Navbar, NavBrand, NavHamburger, NavLi, NavUl, Spinner} from "flowbite-svelte";
|
||||
import {PlusSolid} from "flowbite-svelte-icons";
|
||||
import EventCard from "./home/EventCard.svelte";
|
||||
import CreateEventModal from "./home/CreateEventModal.svelte";
|
||||
import {eventRepo} from "@repo/event.ts";
|
||||
import {tokenStore} from "@repo/repo.ts";
|
||||
|
||||
let events = $eventRepo.listEvents();
|
||||
let showAdd = false;
|
||||
@@ -32,7 +30,7 @@
|
||||
</script>
|
||||
|
||||
<Navbar let:hidden let:toggle class="shadow-lg border-b">
|
||||
<NavBrand href="#">
|
||||
<NavBrand href="/">
|
||||
<span class="self-center whitespace-nowrap text-xl font-semibold dark:text-white">
|
||||
Mod-Tool
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user