Merge branch 'main' into feature/#48_Update-links

This commit is contained in:
Vadim
2021-08-16 00:17:08 +03:00

View File

@@ -16,12 +16,11 @@
<div> <div>
<svelte:component this={titleComponent} id={anchorId} class="docs__title"> <svelte:component this={titleComponent} id={anchorId} class="docs__title">
<a class="docs__anchor" href={`#${anchorId}`}> <a class="docs__anchor" href={`#${anchorId}`}></a>
{title} {title}
{#if !title} {#if !title}
<span bind:this={titleEl}><slot /></span> <span bind:this={titleEl}><slot /></span>
{/if} {/if}
</a>
</svelte:component> </svelte:component>
</div> </div>
@@ -34,7 +33,7 @@
} }
.docs__anchor { .docs__anchor {
position: relative; position: relative;
margin-left: 10px; margin-left: 16px;
text-decoration: none; text-decoration: none;
color: #000000; color: #000000;
} }
@@ -43,6 +42,6 @@
font-size: 14px; font-size: 14px;
content: "\1F517"; content: "\1F517";
position: absolute; position: absolute;
left: -20px; left: -23px;
} }
</style> </style>