Skip to content

Commit d91bfee

Browse files
authored
Users/benfeely/bug profiles (#5)
* Fix bug in layout of performance profiles. * Update docs for github hosting.
1 parent 16509fd commit d91bfee

File tree

6 files changed

+27
-75
lines changed

6 files changed

+27
-75
lines changed

.angular-cli.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
},
77
"apps": [
88
{
9-
"name": "demo",
10-
"root": "apps/demo/src",
11-
"outDir": "dist/apps/demo",
9+
"name": "docs",
10+
"root": "apps/docs/src",
11+
"outDir": "dist/apps/docs",
1212
"assets": [
1313
"assets",
14-
"favicon.ico"
14+
"favicon.ico",
15+
"404.html"
1516
],
1617
"index": "index.html",
1718
"main": "main.ts",
@@ -21,7 +22,7 @@
2122
"testTsconfig": "../../../tsconfig.spec.json",
2223
"prefix": "app",
2324
"styles": [
24-
"styles.css"
25+
"styles.scss"
2526
],
2627
"scripts": [],
2728
"environmentSource": "environments/environment.ts",
@@ -32,12 +33,13 @@
3233
"tags": []
3334
},
3435
{
35-
"name": "demo-from-packages",
36-
"root": "apps/demo/src",
37-
"outDir": "dist/apps/demo",
36+
"name": "docs-from-packages",
37+
"root": "apps/docs/src",
38+
"outDir": "dist/apps/docs",
3839
"assets": [
3940
"assets",
40-
"favicon.ico"
41+
"favicon.ico",
42+
"404.html"
4143
],
4244
"index": "index.html",
4345
"main": "main.ts",
@@ -47,7 +49,7 @@
4749
"testTsconfig": "../../../tsconfig.spec.json",
4850
"prefix": "app",
4951
"styles": [
50-
"styles.css"
52+
"styles.scss"
5153
],
5254
"scripts": [],
5355
"environmentSource": "environments/environment.ts",
@@ -58,13 +60,12 @@
5860
"tags": []
5961
},
6062
{
61-
"name": "docs",
62-
"root": "apps/docs/src",
63-
"outDir": "dist/apps/docs",
63+
"name": "demo",
64+
"root": "apps/demo/src",
65+
"outDir": "dist/apps/demo",
6466
"assets": [
6567
"assets",
66-
"favicon.ico",
67-
"404.html"
68+
"favicon.ico"
6869
],
6970
"index": "index.html",
7071
"main": "main.ts",
@@ -74,7 +75,7 @@
7475
"testTsconfig": "../../../tsconfig.spec.json",
7576
"prefix": "app",
7677
"styles": [
77-
"styles.scss"
78+
"styles.css"
7879
],
7980
"scripts": [],
8081
"environmentSource": "environments/environment.ts",
@@ -85,13 +86,12 @@
8586
"tags": []
8687
},
8788
{
88-
"name": "docs-from-packages",
89-
"root": "apps/docs/src",
90-
"outDir": "dist/apps/docs",
89+
"name": "demo-from-packages",
90+
"root": "apps/demo/src",
91+
"outDir": "dist/apps/demo",
9192
"assets": [
9293
"assets",
93-
"favicon.ico",
94-
"404.html"
94+
"favicon.ico"
9595
],
9696
"index": "index.html",
9797
"main": "main.ts",
@@ -101,7 +101,7 @@
101101
"testTsconfig": "../../../tsconfig.spec.json",
102102
"prefix": "app",
103103
"styles": [
104-
"styles.scss"
104+
"styles.css"
105105
],
106106
"scripts": [],
107107
"environmentSource": "environments/environment.ts",

apps/docs/src/app/components/navbar/navbar.component.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
top: 0;
88
left: 0;
99
right: 0;
10-
// box-sizing: border-box;
1110
border-top: $rubberbandScrollBuffer solid $oil;
1211
margin-top: 0 - $rubberbandScrollBuffer;
12+
z-index: 10;
1313

1414
nav.primary {
1515
background-color: $oil;
@@ -47,8 +47,6 @@
4747
background: $smoke;
4848

4949
/deep/ .mat-tab-nav-bar {
50-
// display: flex;
51-
// justify-content: center;
5250

5351
.mat-tab-links {
5452
display: flex;

apps/docs/src/app/containers/performance/profiles/profiles.component.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
:host {
55
display: block;
66
min-width: 600px;
7+
max-width: 900px;
78

89
.mat-button-toggle-group {
910
width: 100%;
@@ -29,7 +30,7 @@
2930
}
3031

3132
.perf-images.summary .perf-image img {
32-
margin-top: -58%;
33+
margin-top: -58.3%;
3334
margin-bottom: -1%;
3435
}
3536

docs/3rdpartylicenses.txt

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,6 @@
22
MIT
33
MIT
44

5-
cache-loader@1.2.2
6-
MIT
7-
Copyright JS Foundation and other contributors
8-
9-
Permission is hereby granted, free of charge, to any person obtaining
10-
a copy of this software and associated documentation files (the
11-
'Software'), to deal in the Software without restriction, including
12-
without limitation the rights to use, copy, modify, merge, publish,
13-
distribute, sublicense, and/or sell copies of the Software, and to
14-
permit persons to whom the Software is furnished to do so, subject to
15-
the following conditions:
16-
17-
The above copyright notice and this permission notice shall be
18-
included in all copies or substantial portions of the Software.
19-
20-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
21-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27-
28-
@angular-devkit/build-optimizer@0.3.2
29-
MIT
30-
The MIT License
31-
32-
Copyright (c) 2017 Google, Inc.
33-
34-
Permission is hereby granted, free of charge, to any person obtaining a copy
35-
of this software and associated documentation files (the "Software"), to deal
36-
in the Software without restriction, including without limitation the rights
37-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
38-
copies of the Software, and to permit persons to whom the Software is
39-
furnished to do so, subject to the following conditions:
40-
41-
The above copyright notice and this permission notice shall be included in all
42-
copies or substantial portions of the Software.
43-
44-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
45-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
46-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
47-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
48-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
49-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
50-
SOFTWARE.
51-
525
@microsoft/load-themed-styles@1.7.50
536
MIT
547
@microsoft/load-themed-styles

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
// We need to redirect to the URL the user was trying to access.
99
history.replaceState(null, null, redirect);
1010
}
11-
})();</script><!-- /Github Pages hack. --><app-root class="mat-typography"></app-root><script type="text/javascript" src="inline.318b50c57b4eba3d437b.bundle.js"></script><script type="text/javascript" src="polyfills.9a8df1a7a1c2b9447f3a.bundle.js"></script><script type="text/javascript" src="main.3241666694f77e387e6f.bundle.js"></script></body></html>
11+
})();</script><!-- /Github Pages hack. --><app-root class="mat-typography"></app-root><script type="text/javascript" src="inline.318b50c57b4eba3d437b.bundle.js"></script><script type="text/javascript" src="polyfills.9a8df1a7a1c2b9447f3a.bundle.js"></script><script type="text/javascript" src="main.f8b904cca0bc36731f17.bundle.js"></script></body></html>
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)