diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2019-08-16 11:59:21 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2019-08-16 12:00:21 +0800 |
commit | 19a945de783b6158ec48f5c5ff5bbb9858db2890 (patch) | |
tree | 01deab59fe43aa7ae9f1d7d6883624fbff0cfb2f /usecaseui-portal/src/app/app.component.html | |
parent | e86d393096599044ba5a6a42ad386c9990d61501 (diff) |
feat: Home page style optimization
Change-Id: I6fa4760b5c401cb9ff9e0198ed545b7c2fef18b3
Issue-ID: USECASEUI-307
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/app.component.html')
-rw-r--r-- | usecaseui-portal/src/app/app.component.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usecaseui-portal/src/app/app.component.html b/usecaseui-portal/src/app/app.component.html index 1b201c08..2bd60670 100644 --- a/usecaseui-portal/src/app/app.component.html +++ b/usecaseui-portal/src/app/app.component.html @@ -14,11 +14,11 @@ limitations under the License. --> <nz-layout> - <nz-sider nzWidth='330' style="overflow: auto; height: 100vh; position: fixed; left: 0;background: url('assets/images/UUIMenuBar.png')"> - <div style="width: 330px;height:240px;text-align: center"> - <img src="assets/images/uui-logo130.png" alt="" style="margin-top: 40px"> + <nz-sider nzWidth='330' nzBreakpoint='xl' nzCollapsedWidth=260> + <div class="siderContent"> + <img src="../assets/images/uui-logo130.png" alt=""> </div> - <ul nz-menu [nzTheme]="'dark'" [nzMode]="'inline'" style="width: 330px"> + <ul nz-menu [nzTheme]="'dark'" [nzMode]="'inline'"> <li nz-menu-item [ngClass]="{'activeMenuBar':activeMenuBar[0] == true}" (click)="thisActive(0)"> <a routerLink="home"> <span title> @@ -91,7 +91,7 @@ </li> </ul> </nz-sider> - <nz-layout style="margin-left: 330px; height:100vh; position:relative;"> + <nz-layout class="main"> <router-outlet></router-outlet> </nz-layout> </nz-layout> |