Hides the sidebar when narrowed (#1661)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov
2022-05-06 00:17:04 +07:00
committed by GitHub
parent 19229fcd23
commit def00d4eb2
5 changed files with 10 additions and 30 deletions
@@ -89,16 +89,14 @@
onMount(() => {
dispatch('open', { ignoreKeys: ['comments', 'name', 'description', 'number'] })
})
let minimize: boolean = false
</script>
{#if issue !== undefined}
<Panel
object={issue}
bind:minimize
isHeader
isAside={!minimize}
isSub={minimize}
isAside={true}
isSub={false}
bind:innerWidth
on:close={() => {
dispatch('close')