Fix ChannelsEditor (#1833)

This commit is contained in:
Alexander Platov 2022-05-23 04:43:06 +03:00 committed by GitHub
parent 2591bd7781
commit b8d68d9fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

View File

@ -22,6 +22,8 @@
<style lang="scss">
.spinner-container {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
@ -35,7 +37,6 @@
}
.spinner-container .inner {
margin: auto;
opacity: 0;
animation-name: makeVisible;
animation-duration: 0.25s;

View File

@ -180,6 +180,8 @@
.box {
display: flex;
flex-direction: column;
justify-content: flex-start;
height: 100%;
}
.scroller-container.bottomStart {
justify-content: flex-end;

View File

@ -160,7 +160,7 @@
}}
on:click={copyChannel}
/>
{#if editable !== undefined}
{#if editable && editable === true}
<Button
focusIndex={4}
kind={'transparent'}

View File

@ -26,7 +26,7 @@
export let attachedTo: Ref<Doc>
export let attachedClass: Ref<Class<Doc>>
export let integrations: Set<Ref<Doc>> | undefined = undefined
export let editable: boolean | undefined = true
export let editable: boolean = true
export let allowOpen = true
export let focusIndex = -1