Skip to content

Commit 03ede12

Browse files
committed
fix(navbar): fixed redirecting on main page when opening settings
1 parent bd15842 commit 03ede12

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/app/layout/navbar/navbar.template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
</li>
138138
<li class="divider"></li>
139139
<li dropdown [isOpen]="settings.isOpen" [autoClose]="false" class="nav-item dropdown d-sm-down-none">
140-
<a href="#" id="settings"
140+
<a id="settings"
141141
title="Settings"
142142
class="nav-link dropdown-toggle"
143143
dropdownToggle>

src/app/styles/_general.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ form{
7676

7777
a{
7878
@include transition(color .2s);
79+
80+
&:not([href]) {
81+
cursor: pointer;
82+
}
7983
}
8084

8185
button, .btn{

0 commit comments

Comments
 (0)