Skip to content

Commit e78cad1

Browse files
committed
fixed nav-bar icons
Fix: Improve Navbar Icon Alignment and Language Selector Responsiveness
1 parent 413c2af commit e78cad1

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/app/core/shell/toolbar/toolbar.component.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@
5858
</div>
5959

6060
<div #languageSelector>
61-
<mifosx-language-selector class="ml-1 language" fxHide.lt-md></mifosx-language-selector>
61+
<mifosx-language-selector class="mr-1 language" fxHide.lt-md></mifosx-language-selector>
6262
</div>
6363

64-
<button mat-icon-button [matMenuTriggerFor]="languageMenu">
64+
<button mat-icon-button [matMenuTriggerFor]="languageMenu" fxHide.gt-sm>
6565
<mat-icon class="lg-icon">language</mat-icon>
6666
</button>
6767

@@ -74,7 +74,7 @@
7474
</div>
7575

7676
<div #appMenu>
77-
<button mat-icon-button class="ml-1 img-button" [matMenuTriggerFor]="applicationMenu">
77+
<button mat-icon-button class="img-button" [matMenuTriggerFor]="applicationMenu">
7878
<img src="assets/images/user_placeholder.png" />
7979
</button>
8080
</div>

src/app/core/shell/toolbar/toolbar.component.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747
display: none;
4848
}
4949

50-
@media (width <= 959px) {
50+
@media (width <= 960px) {
5151
.lg-icon {
5252
display: block;
53-
margin-left: 5px;
53+
margin-left: 7px;
5454
}
5555
}

src/app/shared/search-tool/search-tool.component.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414

1515
.search-icon {
16-
margin-left: 1rem;
16+
// margin-left: 1rem;
1717
display: flex;
1818
align-items: center;
1919
}

0 commit comments

Comments
 (0)