Skip to content

Commit

Permalink
fix(navbar): fixed redirecting on main page when opening settings
Browse files Browse the repository at this point in the history
  • Loading branch information
shoudaos committed Sep 5, 2019
1 parent bd15842 commit 03ede12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/layout/navbar/navbar.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
</li>
<li class="divider"></li>
<li dropdown [isOpen]="settings.isOpen" [autoClose]="false" class="nav-item dropdown d-sm-down-none">
<a href="#" id="settings"
<a id="settings"
title="Settings"
class="nav-link dropdown-toggle"
dropdownToggle>
Expand Down
4 changes: 4 additions & 0 deletions src/app/styles/_general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ form{

a{
@include transition(color .2s);

&:not([href]) {
cursor: pointer;
}
}

button, .btn{
Expand Down

0 comments on commit 03ede12

Please sign in to comment.