This commit is contained in:
Vadim
2021-08-16 00:41:16 +03:00
parent aeb5e28e6a
commit 848b5b2ee1
3 changed files with 9 additions and 9 deletions

View File

@@ -17,7 +17,7 @@
<div>
<svelte:component this={titleComponent} id={anchorId} class="docs__title">
<a class="docs__anchor" href={`#${anchorId}`}>
<span>{title}</span>
<span class="hidden-title">{title}</span>
</a>
{title}
{#if !title}
@@ -46,7 +46,7 @@
position: absolute;
left: -23px;
}
.docs__anchor > span {
.hidden-title {
display: none;
}
</style>