Set background image for public pages and fix user bottom sheet redirect

pull/38/head
HardiReady 2018-08-01 21:39:39 +02:00
parent 58db2eda9a
commit 7bcbf182bc
6 changed files with 64 additions and 1 deletions

View File

@ -1,3 +1,10 @@
html {
height: 100%;
}
body {
min-height: 100%;
}
ul {
list-style-type: none;
margin: 0;

View File

@ -1,3 +1,17 @@
:host {
display: flow-root;
height: 100%;
width: 100%;
margin-top: -23px;
padding-top: 23px;
padding-bottom: 23px;
background-image: url('../../../assets/bg.jpg');
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}
.army-member-view {
width: 90%;
height: 100vh;

View File

@ -1,3 +1,17 @@
:host {
display: flow-root;
height: 100%;
width: 100%;
margin-top: -23px;
padding-top: 23px;
padding-bottom: 23px;
background-image: url('../../assets/bg.jpg');
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}
.army-column {
width: 45%;
}

View File

@ -1,3 +1,17 @@
:host {
display: flow-root;
height: 100%;
width: 100%;
margin-top: -23px;
padding-top: 23px;
padding-bottom: 23px;
background-image: url('../../../assets/bg.jpg');
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}
h1 {
margin-bottom: 30px;
}

View File

@ -1,3 +1,17 @@
:host {
display: flow-root;
height: 100%;
width: 100%;
margin-top: -23px;
padding-top: 23px;
padding-bottom: 23px;
background-image: url('../../../assets/bg.jpg');
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}
table {
width: 100%;
}

View File

@ -48,6 +48,6 @@ export class UserListSheetComponent implements OnInit {
selectUser(user) {
this.bottomSheetRef.dismiss();
this.router.navigate(['overview', {outlets: {'right': ['member', user._id]}}]);
this.router.navigate(['overview', 'member', user._id]);
}
}