Skip to content

Commit 4ba7344

Browse files
author
Ian Redpath
committed
user page styling
1 parent 5a36e7e commit 4ba7344

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

public/css/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ body {
2626
}
2727
.course-page {
2828
margin-top:15px;
29-
}
29+
}

public/project/components/users/user.view.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<div *ngIf='!fetchingUser' class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2">
22
<div class="profile-header">
3-
<div class="col-sm-4 col-md-4">
3+
<div class="col-xs-4 col-sm-4 col-md-4 col-lg-4">
44
<img class="user-img" src="./assets/default_user.png">
55
</div>
6-
<div class="col-sm-6 col-md-6">
6+
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
77
<h1>{{user.username}}</h1>
88
</div>
9-
<div class="col-sm-2 col-md-2"></div>
9+
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2"></div>
1010
</div>
1111
<div>
1212

public/project/css/style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
}
5353
.profile-header {
5454
display: inline-block;
55+
margin-top: 20px;
56+
margin-bottom: 10px;
5557
}
5658

5759
.library-movie:hover {

0 commit comments

Comments
 (0)