mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
Move the header link icon to the end
This commit is contained in:
parent
0207e441eb
commit
1b59b258bc
@ -49,19 +49,6 @@
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.section-header {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.section-header a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.section-header-link {
|
||||
position: absolute;
|
||||
left: -20px;
|
||||
}
|
||||
|
||||
.section-header-link svg {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
|
@ -1,8 +1,8 @@
|
||||
<h{{ .Level }} id="{{ .Anchor | safeURL }}" class="section-header">
|
||||
{{ .Text | safeHTML }}
|
||||
<a href="#{{ .Anchor | safeURL }}">
|
||||
<span class="section-header-link">
|
||||
{{ partial "icon.html" "link" }}
|
||||
</span>
|
||||
{{ .Text | safeHTML }}
|
||||
</a>
|
||||
</h{{ .Level }}>
|
||||
|
Loading…
Reference in New Issue
Block a user