mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-19 04:57:51 +00:00
Fix footer on the long list, Fixes: #55
This commit is contained in:
parent
74e60bd8d0
commit
e38bc532b2
@ -13,12 +13,13 @@ app-default-layout {
|
||||
}
|
||||
|
||||
.content {
|
||||
flex: 1 0 auto;
|
||||
/*flex: 1 0 auto;*/
|
||||
}
|
||||
|
||||
.footer {
|
||||
flex-shrink: 0;
|
||||
/*flex-shrink: 0;*/
|
||||
padding: 20px;
|
||||
margin: auto 0 0 0;
|
||||
/*background-color: #0097a7;*/
|
||||
color: white;
|
||||
}
|
||||
@ -35,9 +36,9 @@ header {
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
main {
|
||||
height: 100%;
|
||||
}
|
||||
/*main {*/
|
||||
/*height: 100%;*/
|
||||
/*}*/
|
||||
|
||||
.default-header h1 {
|
||||
font-weight: 300;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div class="content">
|
||||
<div class="default-header mat-app-background">
|
||||
<div class="default-header">
|
||||
<h1>Projects</h1>
|
||||
</div>
|
||||
<div class="default-content">
|
||||
@ -8,7 +8,7 @@
|
||||
<mat-table #table [dataSource]="dataSource">
|
||||
|
||||
<ng-container matColumnDef="name">
|
||||
<mat-header-cell *matHeaderCellDef> Name </mat-header-cell>
|
||||
<mat-header-cell *matHeaderCellDef mat-sort-header> Name </mat-header-cell>
|
||||
<mat-cell *matCellDef="let row">
|
||||
<a [routerLink]="['/server', server.id, 'project', row.project_id]" class="table-link">{{row.name}}</a>
|
||||
</mat-cell>
|
||||
|
@ -18,7 +18,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/x-icon" href="assets/favicon.ico">
|
||||
|
||||
<!--
|
||||
<!--
|
||||
angular/angular-cli has an issue with handling imports with leading ~ (like: @import '~https://url.url';)
|
||||
#Ref. https://github.com/angular/angular-cli/issues/9181
|
||||
/* @TODO: make Material Icons self hosted */
|
||||
@ -40,7 +40,7 @@
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body class="">
|
||||
<body class="mat-app-background">
|
||||
<app-root></app-root>
|
||||
</body>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user