Hiding expand/collapse sidebar arrow on independent sites.

This commit is contained in:
ThePendulum 2020-01-09 18:46:41 +01:00
parent acb9d700e0
commit 070dd53096
1 changed files with 13 additions and 11 deletions

View File

@ -39,17 +39,19 @@
/> />
</div> </div>
<span <template v-if="sites.length > 0">
v-show="!expanded" <span
class="expand expand-sidebar noselect" v-show="!expanded"
@click="expanded = true" class="expand expand-sidebar noselect"
><Icon icon="arrow-right3" /></span> @click="expanded = true"
><Icon icon="arrow-right3" /></span>
<span <span
v-show="expanded" v-show="expanded"
class="expand expand-sidebar noselect" class="expand expand-sidebar noselect"
@click="expanded = false" @click="expanded = false"
><Icon icon="arrow-left3" /></span> ><Icon icon="arrow-left3" /></span>
</template>
<div <div
class="header" class="header"
@ -70,7 +72,7 @@
</div> </div>
<div class="content-inner"> <div class="content-inner">
<template v-if="sites.length"> <template v-if="sites.length > 0">
<span <span
v-show="expanded" v-show="expanded"
class="expand collapse-header noselect" class="expand collapse-header noselect"