Skip to content

Commit f2cf038

Browse files
committed
Round all profile images per #37
1 parent f6b6f15 commit f2cf038

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

conditional/templates/dashboard.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
<div class="panel panel-default">
88
<div class="panel-body dashboard-user">
99
<div class="row">
10-
<div class="col-md-2 col-sm-3 col-xs-12 vcenter">
10+
<div class="col-md-2 col-sm-3 col-xs-12 vcenter profile-container">
1111
<img class="profile-image" src="https://profiles.csh.rit.edu/image/{{username}}">
1212
</div>
13-
<div class="col-xs-12 col-sm-9 col-md-9 vcenter" style="padding-bottom:10px">
14-
<h2 class="username">{{name}}</h2>
13+
<div class="col-xs-12 col-sm-9 col-md-9 vcenter profile-container">
14+
<h3 class="username">{{name}}</h3>
1515
<h5 class="email">{{username}}@csh.rit.edu</h5>
1616
<div class="profile-badges">
1717
{% if active %}

frontend/stylesheets/pages/_dashboard.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
.dashboard-user {
22
.profile-image {
3-
border-radius: 2px;
3+
border-radius: 200px;
4+
padding: 10px;
45
width: 100%;
5-
max-width: 200px;
6+
max-width: 150px;
67
}
78
.panel-inner-padding {
89
padding-right: 10px;
910
padding-bottom: 10px;
1011
padding-left: 10px;
1112
}
1213
.username {
13-
margin-top: 15px;
1414
margin-bottom: 5px;
1515
}
1616
.email {
@@ -27,3 +27,7 @@
2727
width: 49%;
2828
}
2929
}
30+
31+
.profile-container {
32+
padding: 0 0 0 15px;
33+
}

frontend/stylesheets/pages/_evals.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515

1616
.eval-user-img {
17-
border-radius: 5px;
17+
border-radius: 200px;
1818
}
1919

2020
.eval-panel {

frontend/stylesheets/partials/_responsive.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
}
1616

1717
@media(min-width: 768px) {
18-
.profile-image {
19-
float: right;
20-
}
2118
hr {
2219
margin-top: 10px;
2320
}

0 commit comments

Comments
 (0)