feat: started to work on table
This commit is contained in:
parent
7561329158
commit
68e0efd51c
6 changed files with 47 additions and 9 deletions
19
src/components/Table.svelte
Normal file
19
src/components/Table.svelte
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<script>
|
||||
</script>
|
||||
|
||||
<table id="table">
|
||||
<slot />
|
||||
</table>
|
||||
|
||||
<style>
|
||||
table {
|
||||
background-color: var(--light-color);
|
||||
border-radius: 1rem;
|
||||
padding: 1rem;
|
||||
box-shadow: 0px 0px 2px var(--shadow-color);
|
||||
border: 1px solid var(--outline-color);
|
||||
}
|
||||
:global(#table tbody tr) {
|
||||
margin: 1rem;
|
||||
}
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue