hide avatar for pinned toots
This commit is contained in:
parent
36a30dece5
commit
2848d5a417
|
@ -1,5 +1,7 @@
|
||||||
<div class="status-header {{isStatusInNotification ? 'status-in-notification' : ''}}">
|
<div class="status-header {{isStatusInNotification ? 'status-in-notification' : ''}}">
|
||||||
<Avatar :account size="extra-small" className="status-header-avatar"/>
|
<div class="status-header-avatar {{timelineType === 'pinned' ? 'hidden' : ''}}">
|
||||||
|
<Avatar :account size="extra-small"/>
|
||||||
|
</div>
|
||||||
<svg class="status-header-svg">
|
<svg class="status-header-svg">
|
||||||
<use xlink:href="{{icon}}"/>
|
<use xlink:href="{{icon}}"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
@ -33,7 +35,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.status-header-avatar) {
|
.status-header-avatar {
|
||||||
margin-left: 19px; /* offset for avatar, 48px - 24px - 5px */
|
margin-left: 19px; /* offset for avatar, 48px - 24px - 5px */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue