Skip to content

Commit

Permalink
feat(docs): disabling selected route (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
Margar1ta authored and pimenovoleg committed Oct 25, 2019
1 parent fb165bb commit 74ae1a3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/src/app/components/footer/footer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<span class="docs-footer__text">© 2019 Positive Technologies</span>
<span class="docs-footer__text">Code licensed under an <a class="docs-footer__link" href="//github.com/positive-js/mosaic/blob/master/LICENSE" target="_blank">MIT-style License</a>.</span>
</div>
<div class="docs-footer__icon">
<a class="docs-footer__icon" href="//github.com/positive-js/mosaic/" target="_blank">
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 438.549 438.549" style="enable-background:new 0 0 438.549 438.549;"
xml:space="preserve">
Expand All @@ -16,6 +16,6 @@
c-6.191,7.521-13.901,13.85-23.131,18.986c-9.232,5.14-18.182,8.85-26.84,11.136c-8.662,2.286-18.415,4.004-29.263,5.146 c9.894,8.562,14.842,22.077,14.842,40.539v60.237c0,3.422,1.19,6.279,3.572,8.562c2.379,2.279,6.136,2.95,11.276,1.995 c44.163-14.653,80.185-41.062,108.068-79.226c27.88-38.161,41.825-81.126,41.825-128.906 C438.536,184.851,428.728,148.168,409.132,114.573z"></path>
</g>
</svg>
</div>
</a>
</div>
</div>
5 changes: 5 additions & 0 deletions packages/docs/src/app/components/sidenav/sidenav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,10 @@

&:hover, &:active, &:focus { text-decoration: none; }
}

&-selected {
pointer-events: none;
cursor: default;
}
}
}

0 comments on commit 74ae1a3

Please sign in to comment.