#48 : Update custom h elements

This commit is contained in:
Vadim
2021-08-14 15:41:38 +03:00
parent f76fe0b5c6
commit 85cac81f88
11 changed files with 57 additions and 46 deletions

View File

@@ -0,0 +1,14 @@
<script>
import H from '../H.svelte'
import H2 from './H2Dom.svelte'
</script>
<H titleComponent={H2}>
<slot />
</H>
<style>
:global(h2.title .anchor::before) {
top: 8px;
}
</style>