styling fix

This commit is contained in:
Jan Prochazka
2021-05-16 20:21:36 +02:00
parent 026726a6ed
commit cae882c8d6

View File

@@ -6,6 +6,7 @@
export let collection; export let collection;
export let columns; export let columns;
export let showIfEmpty = false; export let showIfEmpty = false;
</script> </script>
{#if collection?.length > 0 || showIfEmpty} {#if collection?.length > 0 || showIfEmpty}
@@ -55,8 +56,9 @@
</TableControl> </TableControl>
</div> </div>
</div> </div>
{/if}
<style> <style>
.wrapper { .wrapper {
margin-bottom: 20px; margin-bottom: 20px;
} }
@@ -74,5 +76,4 @@
.body { .body {
margin: 20px; margin: 20px;
} }
</style> </style>
{/if}