mirror of
https://github.com/duckietm/Nitro-Cool-UI.git
synced 2025-06-21 22:36:58 +00:00
Fix: Toolbar Avatar number
This commit is contained in:
parent
19953a6697
commit
b41a110be8
@ -13,14 +13,14 @@
|
||||
position: relative;
|
||||
|
||||
&.item-avatar {
|
||||
overflow: hidden;
|
||||
color: #fff;
|
||||
background-color: #b69b83;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 1rem;
|
||||
border-radius: 32px;
|
||||
border: 2px solid #fff;
|
||||
padding: 1.75em;
|
||||
position: relative;
|
||||
@include media-breakpoint-down(sm) {
|
||||
position: fixed;
|
||||
top: 50px;
|
||||
@ -28,8 +28,8 @@
|
||||
}
|
||||
|
||||
.avatar-image {
|
||||
margin-left: -5px;
|
||||
margin-top: 25px;
|
||||
margin-left: 0px;
|
||||
margin-top: 45px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -72,7 +72,7 @@ export const ToolbarView: FC<{ isInRoom: boolean }> = props =>
|
||||
<Flex gap={ 2 } alignItems="center" className="widthsizemax">
|
||||
<Flex alignItems="center" gap={ 2 }>
|
||||
<Flex center pointer className={ 'navigation-item item-avatar ' + (isMeExpanded ? 'active ' : '') } onClick={ event => setMeExpanded(!isMeExpanded) }>
|
||||
<LayoutAvatarImageView figure={ userFigure } direction={ 2 } position="absolute" />
|
||||
<LayoutAvatarImageView figure={ userFigure } headOnly={ true } direction={ 2 } position="absolute" />
|
||||
{ (getTotalUnseen > 0) &&
|
||||
<LayoutItemCountView count={ getTotalUnseen } /> }
|
||||
</Flex>
|
||||
|
Loading…
x
Reference in New Issue
Block a user