mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
fix social links position & website icon
This commit is contained in:
parent
196f1be6a3
commit
d005712662
@ -12,6 +12,11 @@ Application.Directives.directive 'socialLink', [ ->
|
||||
else if scope.network == 'echosciences'
|
||||
scope.image = "<%= asset_path('social/echosciences.png') %>"
|
||||
scope.altText = 'E)'
|
||||
else
|
||||
if scope.network == 'website'
|
||||
scope.faClass = 'fa-globe'
|
||||
else
|
||||
scope.faClass = 'fa-'+scope.network.replace('_', '-')
|
||||
}
|
||||
]
|
||||
|
||||
|
@ -532,7 +532,7 @@ body.container{
|
||||
}
|
||||
|
||||
.social-links {
|
||||
max-width: 133px;
|
||||
width: 133px;
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
<a ng-show="user.profile[network]" ng-href="{{user.profile[network]}}" target="_blank">
|
||||
<img ng-src="{{image}}" alt="{{altText}}" class="fa-img" ng-show="image"/>
|
||||
<i class="fa fa-{{network.replace('_', '-')}}" ng-hide="image"></i>
|
||||
<i class="fa {{faClass}}" ng-hide="image"></i>
|
||||
</a>
|
Loading…
x
Reference in New Issue
Block a user