diff --git a/routes/_components/notification/Notification.html b/routes/_components/notification/Notification.html
index ce5a685..c9b9409 100644
--- a/routes/_components/notification/Notification.html
+++ b/routes/_components/notification/Notification.html
@@ -1,7 +1,43 @@
-
- Notification
-
\ No newline at end of file
+{{#if notification.type === 'mention' || notification.type === 'reblog' || notification.type === 'favourite'}}
+
+{{else}}
+
+
+
+
+
+{{/if}}
+
+
\ No newline at end of file
diff --git a/routes/_components/pseudoVirtualList/PseudoVirtualList.html b/routes/_components/pseudoVirtualList/PseudoVirtualList.html
index d07ae0e..79505ec 100644
--- a/routes/_components/pseudoVirtualList/PseudoVirtualList.html
+++ b/routes/_components/pseudoVirtualList/PseudoVirtualList.html
@@ -3,7 +3,7 @@
{{/if}}
diff --git a/routes/_components/pseudoVirtualList/PseudoVirtualListLazyItem.html b/routes/_components/pseudoVirtualList/PseudoVirtualListLazyItem.html
index 2ff50c5..2aa7d7a 100644
--- a/routes/_components/pseudoVirtualList/PseudoVirtualListLazyItem.html
+++ b/routes/_components/pseudoVirtualList/PseudoVirtualListLazyItem.html
@@ -3,6 +3,7 @@
:props
:key
:index
+ :length
:scrollToThisItem
:intersectionObserver
:isIntersecting
diff --git a/routes/_components/status/Status.html b/routes/_components/status/Status.html
index d5233b3..1bede85 100644
--- a/routes/_components/status/Status.html
+++ b/routes/_components/status/Status.html
@@ -2,16 +2,8 @@
tabindex="0"
aria-posinset="{{index}}" aria-setsize="{{length}}"
on:recalculateHeight>
- {{#if status.reblog}}
-
+ {{#if (notification && (notification.type === 'reblog' || notification.type === 'favourite')) || status.reblog}}
+
{{/if}}
@@ -80,9 +72,10 @@
width: 560px;
max-width: calc(100vw - 40px);
padding: 10px 20px;
+ border-bottom: 1px solid var(--main-border);
display: grid;
grid-template-areas:
- ".............. status-boosted"
+ ".............. status-header"
"status-sidebar status-author"
"status-sidebar status-spoiler"
"status-sidebar status-spoiler-button"
@@ -90,7 +83,6 @@
"status-media status-media"
".............. status-toolbar";
grid-template-columns: 58px 1fr;
- border-bottom: 1px solid var(--main-border);
}
.status-article.status-direct {
@@ -200,27 +192,6 @@
margin: 0;
}
- .status-boosted span {
- margin-left: 5px;
- }
-
- :global(.status-boosted span, .status-boosted a, .status-boosted a:visited, .status-boosted a:hover) {
- color: var(--deemphasized-text-color);
- }
-
- .status-boosted {
- grid-area: status-boosted;
- margin: 5px 10px 5px 5px;
- display: flex;
- align-items: center;
- }
-
- .status-boosted svg {
- width: 18px;
- height: 18px;
- fill: var(--deemphasized-text-color);
- }
-
.status-sensitive-media-container {
grid-area: status-media;
margin: 10px 0;
@@ -315,6 +286,7 @@
import Avatar from './Avatar.html'
import Media from './Media.html'
import Toolbar from './Toolbar.html'
+ import StatusHeader from './StatusHeader.html'
import { mark, stop } from '../../_utils/marks'
import IntlRelativeFormat from 'intl-relativeformat'
import { replaceAll } from '../../_utils/strings'
@@ -331,7 +303,8 @@
Avatar,
Media,
Toolbar,
- ExternalLink
+ ExternalLink,
+ StatusHeader
},
store: () => store,
computed: {
diff --git a/routes/_components/status/StatusHeader.html b/routes/_components/status/StatusHeader.html
new file mode 100644
index 0000000..17bc9af
--- /dev/null
+++ b/routes/_components/status/StatusHeader.html
@@ -0,0 +1,61 @@
+
+
+
\ No newline at end of file
diff --git a/routes/_components/virtualList/VirtualListItem.html b/routes/_components/virtualList/VirtualListItem.html
index ecde2ab..178e0ab 100644
--- a/routes/_components/virtualList/VirtualListItem.html
+++ b/routes/_components/virtualList/VirtualListItem.html
@@ -5,7 +5,7 @@
<:Component {component}
virtualProps="{{props}}"
virtualIndex="{{index}}"
- virtualLength="{{numItems}}"
+ virtualLength="{{$length}}"
on:recalculateHeight="doRecalculateHeight()"/>