#48 : Update custom h elements
This commit is contained in:
14
src/docs/Layouts/custom/H/H2/H2.svelte
Normal file
14
src/docs/Layouts/custom/H/H2/H2.svelte
Normal 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>
|
||||
Reference in New Issue
Block a user