aotds-docks/src/components/Section/index.svelte

24 lines
263 B
Svelte
Raw Normal View History

2020-07-28 18:38:40 +00:00
<div>
<h2>{label}</h2>
<hr/>
</div>
<slot />
2020-07-19 20:21:28 +00:00
<script>
export let label;
</script>
2020-07-28 18:38:40 +00:00
<style>
div {
display: flex;
grid-column: 1 / span 3 !important;
align-items: baseline;
gap: 1em;
}
hr {
flex: 1;
heigth: 0px;
}
</style>