Skip to content

Commit 9515fbc

Browse files
committed
fix: justify center on navbar for minHeight that is bigger than content
1 parent 02ce830 commit 9515fbc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

projects/ngx-material-navigation-showcase/src/app/app.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@if (footerHeight) {
2-
<ngx-mat-navigation-navbar [minSidenavWidth]="'40%'" [minHeightOtherElements]="footerHeight" [navbarRows]="navbarRows">
2+
<ngx-mat-navigation-navbar [minHeight]="80" [minSidenavWidth]="'40%'" [minHeightOtherElements]="footerHeight" [navbarRows]="navbarRows">
33
<router-outlet></router-outlet>
44
</ngx-mat-navigation-navbar>
55
}

projects/ngx-material-navigation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-material-navigation",
3-
"version": "18.1.1",
3+
"version": "18.1.2",
44
"license": "MIT",
55
"keywords": [
66
"angular",

projects/ngx-material-navigation/src/components/navbar/navbar.component.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#toolbar {
22
height: auto;
3+
justify-content: center;
34
}
45

56
.toolbar-row {

0 commit comments

Comments
 (0)