1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-09 15:35:25 +02:00

use arrow-right icon instead of "»" in bread crumbs

This commit is contained in:
Peter Savchenko 2022-09-05 21:24:27 +03:00
parent afb014f7ab
commit bd767bd8bc
No known key found for this signature in database
GPG key ID: E68306B1AB0F727C
4 changed files with 18 additions and 1029 deletions

View file

@ -7,6 +7,7 @@
<a href="/" class="page__header-nav-item">
Documentation
</a>
{{ svg('arrow-right') }}
{% if page._parent %}
<a class="page__header-nav-item"
{% if pageParent.uri %}

View file

@ -12,6 +12,9 @@
}
&-nav {
display: flex;
align-items: center;
&-item {
color: inherit;
text-decoration: none;
@ -23,13 +26,10 @@
&:hover {
color: var(--color-link-active);
}
}
&:not(:last-of-type) {
&::after {
content: '»';
margin: 0 0.7em 0 0.45em;
}
}
svg {
margin: 0 6px;
}
}

View file

@ -0,0 +1 @@
<svg width="21" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.037 6.08a.833.833 0 0 0 0 1.175l2.95 2.992-2.95 2.95a.833.833 0 1 0 1.183 1.175l3.533-3.534a.832.832 0 0 0 0-1.183L9.22 6.08a.833.833 0 0 0-1.183 0Z" fill="#717682"/></svg>

After

Width:  |  Height:  |  Size: 260 B

1033
yarn.lock

File diff suppressed because it is too large Load diff