fix header profile on sidebar mobile

This commit is contained in:
bechi 2015-01-15 11:16:59 -03:00
parent 8a98958398
commit 05e4c2abb8
2 changed files with 15 additions and 16 deletions

View File

@ -57,18 +57,20 @@
}
header {
height: 45px;
background-color: #213140;
background-image: -webkit-linear-gradient(#2C3E50 0%, #1D2833 100%);
background-image: -o-linear-gradient(#2C3E50 0%, #1D2833 100%);
background-image: linear-gradient(#2C3E50 0%, #1D2833 100%);
box-shadow: 0px 1px 0px 0px #2C3E50, inset -1px 0px 0px 0px rgba(0,0,0,0.24);
height: 120px;
width: 100%;
line-height: 110%;
padding-left: 0.45rem;
padding: 1rem;
}
header .photo-container {
width: 35px;
height: 35px;
margin-right: 10px;
margin-top: 5px;
width: 45px;
height: 45px;
margin-bottom: 5px;
}
header h1 {
@ -78,7 +80,7 @@
.scroll-section {
position: absolute;
top: 45px;
top: 120px;
overflow-y: auto;
}

View File

@ -1,14 +1,11 @@
<header ng-click="$root.go('profile')">
<div class="photo-container left">
<img gravatar-src="'{{$root.iden.getName()}}'" gravatar-size="35">
<header ng-click="$root.go('profile')" class="text-center">
<div class="photo-container">
<img gravatar-src="'{{$root.iden.getName()}}'" gravatar-size="45">
</div>
<div class="col2 m5t">
<div class="text-white ellipsis">{{$root.iden.getName()}}</div>
<div class="m5t">
<div class="text-white text-bold ellipsis size-14">{{$root.iden.getName()}}</div>
<div class="text-gray size-10"> {{'View My Profile' | translate }} </div>
</div>
<div class="right">
<i class="icon-arrow-right3 size-16 db m15t text-white"></i>
</div>
</header>
<div class="scroll-section">
<ul class="sidebar-mobile-wallets oh off-canvas-list m10b" ng-show="wallets[0]">