Skip to content

Commit 81df80a

Browse files
committed
Merge branch 'git-hub-routing-fix' into 'development'
Fix some css in version 1.0.0 See merge request Works.Al-Mokhtar/shared/dotnet-validator-docs!5
2 parents 5f9b663 + 3abfdc0 commit 81df80a

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@ This project was generated with [Angular CLI](https://github.com/angular/angular
44

55
## Development server
66

7-
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
7+
Run `yarn start` for a dev server. Navigate to `http://localhost:4444/`. The app will automatically reload if you change any of the source files.
8+
9+
Run `yarn restart` for a dev server. Navigate to `http://localhost:4444/`. The app will automatically reload if you change any of the source files.
810

911
## Code scaffolding
1012

1113
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
1214

1315
## Build
1416

15-
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
17+
Run `yarn build` to build the project. The build artifacts will be stored in the `dist/` directory.
1618

1719
## Running unit tests
1820

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"ng": "ng",
66
"start": "ng serve -o --port 4444",
77
"restart": "ng serve --port 4444",
8-
"build": "ng build --prod",
8+
"build": "ng build --prod --aot --output-hashing all --extract-css true --sourceMap false --named-chunks false --build-optimizer --vendor-chunk",
99
"test": "ng test",
1010
"lint": "ng lint",
1111
"lint-fix": "ng lint documentation-website --fix",

src/styles/layout/_side-nav.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@
4747
min-height: 100vh;
4848
background-color: $side-nav-expanded-bg;
4949
z-index: 100;
50+
51+
.navbar {
52+
/* To show the last links in mobile devices */
53+
margin-bottom: 10rem;
54+
}
55+
5056
&.collapsed {
5157
display: none;
5258
}

0 commit comments

Comments
 (0)