mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-22 22:30:52 +01:00
Update toolbar
This commit is contained in:
parent
05ded78330
commit
4b1ef5d5ec
@ -15,24 +15,20 @@
|
||||
cursor: pointer;
|
||||
padding: unset;
|
||||
min-width: 50px;
|
||||
min-height: 60px;
|
||||
width: 50px;
|
||||
height: 60px;
|
||||
margin: 0 5px;
|
||||
|
||||
overflow: hidden;
|
||||
|
||||
&:active {
|
||||
-webkit-transform: translate(0, 1px);
|
||||
transform: translate(0, 1px);
|
||||
}
|
||||
|
||||
&.avatar-image {
|
||||
width: 65px;
|
||||
height: 60px;
|
||||
|
||||
img {
|
||||
position: relative;
|
||||
top: 12px;
|
||||
right: 5px;
|
||||
}
|
||||
.avatar-image {
|
||||
top: 20px;
|
||||
left: -5px;
|
||||
}
|
||||
|
||||
.icon,
|
||||
|
@ -52,7 +52,7 @@ export function ToolbarView(props: ToolbarViewProps): JSX.Element
|
||||
{ (unseenFriendListCount > 0) && (
|
||||
<div className="position-absolute bg-danger px-1 py-0 rounded shadow count">{ unseenFriendListCount }</div>) }
|
||||
</li>
|
||||
<li className="list-group-item avatar-image">
|
||||
<li className="list-group-item">
|
||||
{ userInfo && <AvatarImageView figure={ userInfo.figure } direction={ 2 } headOnly={ true } /> }
|
||||
{ (unseenAchievementsCount > 0) && (
|
||||
<div className="position-absolute bg-danger px-1 py-0 rounded shadow count">{ unseenAchievementsCount }</div>) }
|
||||
|
Loading…
Reference in New Issue
Block a user