#38 : Customize table, update docs
This commit is contained in:
15
src/docs/Layouts/custom/Table.svelte
Normal file
15
src/docs/Layouts/custom/Table.svelte
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="table-wrapper">
|
||||
<table>
|
||||
<slot></slot>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.table-wrapper {
|
||||
max-width: 100%;
|
||||
overflow-x: auto;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user