mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-02-16 18:14:23 +01:00
Moved tabs on artist page
This commit is contained in:
parent
db21f82739
commit
01960b8e4d
2 changed files with 8 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
<div class="resource-details artist-details" ng-class="::{'x-archived': artist.is_archived}">
|
<div class="resource-details artist-details fixed-tabs" ng-class="::{'x-archived': artist.is_archived}">
|
||||||
|
|
||||||
<header ng-style="{'background-image': 'linear-gradient(135deg, ' + artist.avatar_colors[0] + ' 15%, ' + artist.avatar_colors[1] + ' 100%)'}">
|
<header ng-style="{'background-image': 'linear-gradient(135deg, ' + artist.avatar_colors[0] + ' 15%, ' + artist.avatar_colors[1] + ' 100%)'}">
|
||||||
<img src="{{artist.avatars.normal}}">
|
<img src="{{artist.avatars.normal}}">
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<ul class="tabs">
|
<ul class="tabs fixed">
|
||||||
<li ui-sref-active="active"><a ui-sref=".profile">Profile</a></li>
|
<li ui-sref-active="active"><a ui-sref=".profile">Profile</a></li>
|
||||||
<li ui-sref-active="active"><a ui-sref=".content">Content</a></li>
|
<li ui-sref-active="active"><a ui-sref=".content">Content</a></li>
|
||||||
<li ng-if="::!artist.is_archived" ui-sref-active="active">
|
<li ng-if="::!artist.is_archived" ui-sref-active="active">
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
</li>
|
</li>
|
||||||
<li ng-if="::artist.permissions.edit" ui-sref-active="{active: '.account'}"><a ui-sref=".account.settings">Manage Account</a></li>
|
<li ng-if="::artist.permissions.edit" ui-sref-active="{active: '.account'}"><a ui-sref=".account.settings">Manage Account</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="stretch-to-bottom">
|
<div class="stretch-to-bottom secondary-content">
|
||||||
<ui-view></ui-view>
|
<ui-view></ui-view>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
6
resources/assets/styles/mobile.less
vendored
6
resources/assets/styles/mobile.less
vendored
|
@ -367,7 +367,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.fixed-tabs {
|
.fixed-tabs {
|
||||||
padding-top: 42px;
|
padding-top: 41px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.secondary-content {
|
||||||
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue