tweak styles
This commit is contained in:
parent
642250e50c
commit
64fccee69b
|
@ -1,4 +1,4 @@
|
||||||
<div class="status-header {{isStatusInNotification ? 'status-in-notification' : ''}}">
|
<div class="status-header {{isStatusInNotification ? 'status-in-notification' : ''}} {{notification && notification.type === 'follow' ? 'header-is-follow' : ''}}">
|
||||||
<div class="status-header-avatar {{timelineType === 'pinned' ? 'hidden' : ''}}">
|
<div class="status-header-avatar {{timelineType === 'pinned' ? 'hidden' : ''}}">
|
||||||
<Avatar :account size="extra-small"/>
|
<Avatar :account size="extra-small"/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -30,10 +30,13 @@
|
||||||
<style>
|
<style>
|
||||||
.status-header {
|
.status-header {
|
||||||
grid-area: header;
|
grid-area: header;
|
||||||
margin: 5px 10px 5px 5px;
|
margin: 0 10px 5px 5px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
.status-header.header-is-follow {
|
||||||
|
margin-bottom: 0; /* standalone, so doesn't need a bottom margin */
|
||||||
|
}
|
||||||
|
|
||||||
.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 New Issue