Skip to content

Commit acf4051

Browse files
authored
Merge pull request #70 from Service-Soft/69-justify-center-on-navbar-with-minheight
fix: justify center on navbar for minHeight that is bigger than content
2 parents 02ce830 + 9515fbc commit acf4051

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)