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