Skip to content

Commit

Permalink
fixes #52
Browse files Browse the repository at this point in the history
  • Loading branch information
pichalite committed Sep 15, 2016
1 parent d0b940e commit 0371f14
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
19 changes: 9 additions & 10 deletions less/account.less
Expand Up @@ -112,7 +112,7 @@
padding: inherit;

hr {
margin-top: 80px;
margin-top: 20px;
}
}

Expand All @@ -132,10 +132,6 @@
}

.user-info {
float: left;
position: absolute;
top: -50px;
margin-left: 150px;

h3 {
color: #fff;
Expand All @@ -162,10 +158,13 @@
}

@media (max-width: @screen-xs-max) {
position: relative;
top: -190px;
margin-left: 0;
float: none;
margin-top: 40px;
}

@media (min-width: @screen-md-min) {
position: absolute;
top: -50px;
left: 175px;
}
}

Expand All @@ -192,7 +191,7 @@
}

@media (max-width: @screen-xs-max) {
margin-top: 80px;
margin-top: 20px;
margin-bottom: 10px;
}
}
Expand Down
10 changes: 5 additions & 5 deletions templates/partials/account/header.tpl
Expand Up @@ -18,6 +18,11 @@
<!-- ENDIF picture -->
<span component="user/status" class="status {status}" title="[[global:{status}]]"></span>
</div>

<div class="user-info">
<h3 class="fullname"><!-- IF fullname -->{fullname}<!-- ELSE -->{username}<!-- ENDIF fullname --></h3>
<h4 class="username"><!-- IF !banned -->@{username}<!-- ELSE -->[[user:banned]]<!-- ENDIF !banned --></h4>
</div>

<!-- IF template.account/profile -->
<div class="account-stats">
Expand Down Expand Up @@ -65,11 +70,6 @@
<!-- ENDIF template.account/profile -->

<!-- IMPORT partials/account/menu.tpl -->

<div class="user-info">
<h3 class="fullname"><!-- IF fullname -->{fullname}<!-- ELSE -->{username}<!-- ENDIF fullname --></h3>
<h4 class="username"><!-- IF !banned -->@{username}<!-- ELSE -->[[user:banned]]<!-- ENDIF !banned --></h4>
</div>

</div>
</div>

0 comments on commit 0371f14

Please sign in to comment.