feature/projects-all-the-way-down #3323
|
@ -4,7 +4,7 @@
|
|||
:class="{'is-loading': isLoading}"
|
||||
:data-project-id="project.id"
|
||||
dpschen marked this conversation as resolved
Outdated
|
||||
>
|
||||
<section>
|
||||
<div>
|
||||
dpschen marked this conversation as resolved
Outdated
dpschen
commented
Replace section with We'll add correct semantics here later (e.g. https://www.w3.org/WAI/ARIA/apg/patterns/menubar/examples/menubar-navigation/). Replace section with `<div>`.
We'll add correct semantics here later (e.g. https://www.w3.org/WAI/ARIA/apg/patterns/menubar/examples/menubar-navigation/). `<section>` is not correct though, since there is no headline.
konrad
commented
Done Done
|
||||
<BaseButton
|
||||
v-if="canCollapse && childProjects?.length > 0"
|
||||
@click="childProjectsOpen = !childProjectsOpen"
|
||||
|
@ -44,7 +44,7 @@
|
|||
</template>
|
||||
</ProjectSettingsDropdown>
|
||||
<span class="list-setting-spacer" v-else></span>
|
||||
</section>
|
||||
</div>
|
||||
<ProjectsNavigation
|
||||
v-if="canNestDeeper && childProjectsOpen && canCollapse"
|
||||
dpschen
commented
Use Use `Expandable` component for this.
konrad
commented
This seems to completly break the styling. I changed it to match the selectors but it still does not work. Not sure what to do about this.- This seems to completly break the styling. I changed it to match the selectors but it still does not work. Not sure what to do about this.-
dpschen
commented
I created an example how to use this in I created an example how to use this in https://kolaente.dev/vikunja/frontend/commit/51e29af010defc5f6c46f85dbb7311904a7d40e1. I was unsure which parts parts should be dynamically be filled (via the `open` prop) or static (not rendering the `Expandable` at all via `v-if`).
|
||||
v-model="childProjects"
|
||||
|
@ -120,7 +120,7 @@ const canNestDeeper = computed(() => {
|
|||
}
|
||||
}
|
||||
|
||||
.list-menu:hover > section > .favorite {
|
||||
.list-menu:hover > div > .favorite {
|
||||
opacity: 1;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
padding: 0;
|
||||
|
||||
&.other-menu-items li,
|
||||
li > section {
|
||||
li > div {
|
||||
height: 44px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -29,7 +29,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
li > section {
|
||||
li > div {
|
||||
.menu-list-dropdown {
|
||||
opacity: 1;
|
||||
transition: $transition;
|
||||
|
@ -76,7 +76,7 @@
|
|||
}
|
||||
|
||||
.list-menu-link,
|
||||
li, li > section {
|
||||
li, li > div {
|
||||
.collapse-project-button {
|
||||
padding: .5rem .25rem .5rem .5rem;
|
||||
|
||||
|
|
Reference in New Issue
Block a user
Set from outside, since this id is related to the sorting.
Done