diff --git a/src/client/components/notes.vue b/src/client/components/notes.vue
index bd6d5bb4f5..ebb87622af 100644
--- a/src/client/components/notes.vue
+++ b/src/client/components/notes.vue
@@ -8,10 +8,10 @@
-
+
@@ -19,10 +19,10 @@
-
+
@@ -32,10 +32,11 @@ import { defineComponent } from 'vue';
import paging from '@/scripts/paging';
import XNote from './note.vue';
import XList from './date-separated-list.vue';
+import MkButton from '@/components/ui/button.vue';
export default defineComponent({
components: {
- XNote, XList,
+ XNote, XList, MkButton,
},
mixins: [
diff --git a/src/client/ui/chat/notes.vue b/src/client/ui/chat/notes.vue
index 1fa2870cee..774b8e4aa3 100644
--- a/src/client/ui/chat/notes.vue
+++ b/src/client/ui/chat/notes.vue
@@ -8,10 +8,10 @@
-
+
@@ -19,10 +19,10 @@
-
+
@@ -32,10 +32,11 @@ import { defineComponent } from 'vue';
import paging from '@/scripts/paging';
import XNote from './note.vue';
import XList from './date-separated-list.vue';
+import MkButton from '@/components/ui/button.vue';
export default defineComponent({
components: {
- XNote, XList,
+ XNote, XList, MkButton,
},
mixins: [
diff --git a/src/client/ui/chat/timeline.vue b/src/client/ui/chat/timeline.vue
index 12cb7af7d2..2a74584e65 100644
--- a/src/client/ui/chat/timeline.vue
+++ b/src/client/ui/chat/timeline.vue
@@ -221,9 +221,8 @@ export default defineComponent({
queueUpdated(q) {
if (this.$refs.body.offsetWidth !== 0) {
const rect = this.$refs.body.getBoundingClientRect();
- const scrollTop = getScrollPosition(this.$refs.body);
this.width = this.$refs.body.offsetWidth;
- this.top = rect.top + scrollTop;
+ this.top = rect.top;
this.bottom = this.$refs.body.offsetHeight;
}
this.queue = q;
@@ -264,6 +263,7 @@ export default defineComponent({
}
.dbiokgaf.tl {
+ position: relative;
padding: 16px 0;
flex: 1;
min-width: 0;