fix(frontend): chips of the changes panel stay on top while the list scrolls
This commit is contained in:
1 parent
309614c979
commit
42b4e1d7e6
1 file changed
+12
-1
@@ -32,8 +32,19 @@
|
||||
</script>
|
||||
|
||||
{#if chatId !== null}
|
||||
<FeedFilters {kind} onkind={pick} />
|
||||
<div class="filters">
|
||||
<FeedFilters {kind} onkind={pick} />
|
||||
</div>
|
||||
{#key chatId}
|
||||
<FeedList {chatId} {kind} onopen={open} />
|
||||
{/key}
|
||||
{/if}
|
||||
|
||||
<style lang="scss">
|
||||
.filters {
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
background-color: var(--color-background);
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user