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
+11
@@ -32,8 +32,19 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if chatId !== null}
|
{#if chatId !== null}
|
||||||
|
<div class="filters">
|
||||||
<FeedFilters {kind} onkind={pick} />
|
<FeedFilters {kind} onkind={pick} />
|
||||||
|
</div>
|
||||||
{#key chatId}
|
{#key chatId}
|
||||||
<FeedList {chatId} {kind} onopen={open} />
|
<FeedList {chatId} {kind} onopen={open} />
|
||||||
{/key}
|
{/key}
|
||||||
{/if}
|
{/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