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 { header {
height: 45px; background-image: -webkit-linear-gradient(#2C3E50 0%, #1D2833 100%);
background-color: #213140; 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%; width: 100%;
line-height: 110%; line-height: 110%;
padding-left: 0.45rem; padding: 1rem;
} }
header .photo-container { header .photo-container {
width: 35px; width: 45px;
height: 35px; height: 45px;
margin-right: 10px; margin-bottom: 5px;
margin-top: 5px;
} }
header h1 { header h1 {
@ -78,7 +80,7 @@
.scroll-section { .scroll-section {
position: absolute; position: absolute;
top: 45px; top: 120px;
overflow-y: auto; overflow-y: auto;
} }

View File

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