mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 14:40:50 +01:00
fix avatar head positioning
This commit is contained in:
parent
67a2509891
commit
30eaa6141f
@ -1,12 +1,10 @@
|
||||
.relationships-container {
|
||||
|
||||
.relationship-container {
|
||||
//margin-bottom: 10px;
|
||||
|
||||
.relationship
|
||||
{
|
||||
margin-left: 10px;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
|
||||
&.advanced {
|
||||
background-color: white;
|
||||
@ -24,7 +22,6 @@
|
||||
height: 80px;
|
||||
right: 0;
|
||||
margin-top: -60px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@ export const RelationshipsContainerView: FC<RelationshipsContainerViewProps> = p
|
||||
<div className="relationship-container d-flex flex-row align-items-center w-100">
|
||||
<i className={`icon icon-relationship-${relationshipName} flex-shrink-0 align-self-baseline mt-2`} />
|
||||
<div className="w-100 d-flex flex-column">
|
||||
<span className={'relationship w-100' + (!simple ? ' advanced' : '')}>
|
||||
<span className={'relationship mx-2' + (!simple ? ' advanced' : '')}>
|
||||
<span className="cursor-pointer relationship-text" onClick={() => OnUserClick(relationshipInfo)}>
|
||||
{
|
||||
(relationshipInfo && relationshipInfo.friendCount > 0) ? relationshipInfo.randomFriendName : LocalizeText('extendedprofile.add.friends')
|
||||
|
Loading…
Reference in New Issue
Block a user