diff --git a/packages/stark-ui/assets/styles/_base.scss b/packages/stark-ui/assets/styles/_base.scss index 2828de3b1f..95acfa72d9 100644 --- a/packages/stark-ui/assets/styles/_base.scss +++ b/packages/stark-ui/assets/styles/_base.scss @@ -17,15 +17,28 @@ body { margin-bottom: 64px; } - main.stark-main-container { - flex: 1 0 auto; - align-self: center; + .mat-drawer { + z-index: 120; /* z-index of header is 110. z-index of mat-drawer should be bigger */ + } + + .mat-drawer-content { + z-index: initial; // fix safari not showing fixed header + + display: flex; + flex-direction: column; + + overflow: auto; - width: 100%; - max-width: $stark-max-content-width; + main.stark-main-container { + flex: 1 0 auto; + align-self: center; - box-sizing: border-box; - padding: 64px 15px; + width: 100%; + max-width: $stark-max-content-width; + + box-sizing: border-box; + padding: 64px 15px; + } } } diff --git a/showcase/src/app/app.component.html b/showcase/src/app/app.component.html index 9074b57a54..f3e0e729a5 100644 --- a/showcase/src/app/app.component.html +++ b/showcase/src/app/app.component.html @@ -1,140 +1,4 @@ -
-
-
-
-
- - - -
-
- -
- -
- -
-
-
- -
- {{ "SHOWCASE.DEMO.APP_DATA.USER" | translate }}:  - {{ user.username }} ({{ user.roles[0] }}) -
- {{ "SHOWCASE.DEMO.APP_DATA.LAST_ACCESS" | translate }} - :  - {{ time }} -
- -
- {{ "SHOWCASE.DEMO.APP_DATA.VERSION" | translate }}:  - {{ appMetadata.version }} -
- {{ "SHOWCASE.DEMO.APP_DATA.ENVIRONMENT" | translate }} - :  - {{ appMetadata.environment }} -
-
-
- - -
- -
-
- -
- {{ "SHOWCASE.DEMO.APP_DATA.USER" | translate }}:  - {{ user.username }} ({{ user.roles[0] }}) -
- {{ "SHOWCASE.DEMO.APP_DATA.LAST_ACCESS" | translate }} - :  - {{ time }} -
- {{ "SHOWCASE.DEMO.APP_DATA.VERSION" | translate }}:  - {{ appMetadata.version }} -
- {{ "SHOWCASE.DEMO.APP_DATA.ENVIRONMENT" | translate }} - :  - {{ appMetadata.environment }} -
-
-
- - - - - - -
- - -
- -
- - -
-
-
- @@ -159,6 +23,154 @@ +
+
+
+
+
+ + + +
+
+ +
+ +
+ +
+
+
+ +
+ {{ "SHOWCASE.DEMO.APP_DATA.USER" | translate }} + :  + {{ user.username }} ({{ user.roles[0] }} + ) +
+ {{ "SHOWCASE.DEMO.APP_DATA.LAST_ACCESS" | translate }} :  + {{ time }} +
+ +
+ {{ "SHOWCASE.DEMO.APP_DATA.VERSION" | translate }}:  + {{ appMetadata.version }} +
+ {{ "SHOWCASE.DEMO.APP_DATA.ENVIRONMENT" | translate }} :  + {{ appMetadata.environment }} +
+
+
+ + +
+ +
+
+ +
+ {{ "SHOWCASE.DEMO.APP_DATA.USER" | translate }} + :  + {{ user.username }} ({{ user.roles[0] }} + ) +
+ {{ "SHOWCASE.DEMO.APP_DATA.LAST_ACCESS" | translate }} :  + {{ time }} +
+ {{ "SHOWCASE.DEMO.APP_DATA.VERSION" | translate }}:  + {{ appMetadata.version }} +
+ {{ "SHOWCASE.DEMO.APP_DATA.ENVIRONMENT" | translate }} :  + {{ appMetadata.environment }} +
+
+
+ + + + + + +
+ + +
+ +
+ + +
+
+
+
diff --git a/starter/src/app/app.component.html b/starter/src/app/app.component.html index c4563e77c2..a12f9f0eb9 100644 --- a/starter/src/app/app.component.html +++ b/starter/src/app/app.component.html @@ -1,71 +1,73 @@ -
-
-
-
-
- + + + - -
-
+ + -
- -
+ +
+
+
+
+
+ -
-
-

App Data

+ +
+
- +
+ +
- -
+
+
+

App Data

-
- -
+ -
- + +
- -
-
+
+ +
-
-

{{ name }}

-
-
-
-
+
+ - - - + +
+
- - +
+

{{ name }}

+
+
+ +
-