forked from vikunja/frontend
fix: move the collapsable placeholder to the button
This commit is contained in:
parent
1a94496801
commit
1344026494
|
@ -11,12 +11,12 @@
|
||||||
>
|
>
|
||||||
<icon icon="chevron-down" :class="{ 'project-is-collapsed': !childProjectsOpen }"/>
|
<icon icon="chevron-down" :class="{ 'project-is-collapsed': !childProjectsOpen }"/>
|
||||||
</BaseButton>
|
</BaseButton>
|
||||||
<span class="collapse-project-button-placeholder" v-else></span>
|
|
||||||
<BaseButton
|
<BaseButton
|
||||||
:to="{ name: 'project.index', params: { projectId: project.id} }"
|
:to="{ name: 'project.index', params: { projectId: project.id} }"
|
||||||
class="list-menu-link"
|
class="list-menu-link"
|
||||||
:class="{'router-link-exact-active': currentProject.id === project.id}"
|
:class="{'router-link-exact-active': currentProject.id === project.id}"
|
||||||
>
|
>
|
||||||
|
<span class="collapse-project-button-placeholder" v-if="!canCollapse || childProjects?.length === 0"></span>
|
||||||
<ColorBubble
|
<ColorBubble
|
||||||
v-if="project.hexColor !== ''"
|
v-if="project.hexColor !== ''"
|
||||||
:color="project.hexColor"
|
:color="project.hexColor"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user