+
@@ -38,10 +38,8 @@
.box {
position: absolute;
- display: grid;
- grid-auto-flow: column;
+ display: flex;
padding: 0 0 .375rem 0;
- gap: 1.5rem;
top: 0;
left: 0;
width: auto;
@@ -56,7 +54,7 @@
overflow-x: hidden;
overflow-y: auto;
.box {
- grid-auto-flow: row;
+ flex-direction: column;
padding: 0 .5rem 0 .5rem;
width: 100%;
height: auto;
@@ -73,5 +71,10 @@
padding: 0 .375rem .375rem 0;
}
}
+
+ &.noShift {
+ margin: 0;
+ .box { padding: 0; }
+ }
}
diff --git a/plugins/chunter-resources/src/components/Activity.svelte b/plugins/chunter-resources/src/components/Activity.svelte
index e51c361e7a..e2c7ea4d9f 100644
--- a/plugins/chunter-resources/src/components/Activity.svelte
+++ b/plugins/chunter-resources/src/components/Activity.svelte
@@ -20,9 +20,8 @@ import type { Doc, Ref, Space } from '@anticrm/core'
import type { Comment } from '@anticrm/chunter'
import { ReferenceInput } from '@anticrm/text-editor'
import { createQuery, getClient } from '@anticrm/presentation'
-import { Section, IconComments, Grid } from '@anticrm/ui'
+import { ScrollBox, Grid } from '@anticrm/ui'
-import Bookmark from './icons/Bookmark.svelte'
import Backlink from './Backlink.svelte'
import chunter from '@anticrm/chunter'
@@ -45,13 +44,32 @@ function onMessage(event: CustomEvent) {
}
-
-
- {#if comments}
- {#each comments as comment}
-
- {/each}
- {/if}
-
-
-
+
+
+
+ {#if comments}
+
+ {#each comments as comment}
+
+ {/each}
+
+ {/if}
+
+
+
+
+
+