feature/projects-all-the-way-down #3323

Merged
konrad merged 123 commits from feature/projects-all-the-way-down into main 2023-05-30 10:09:40 +00:00
2 changed files with 12 additions and 16 deletions
Showing only changes of commit ddcd6a17dc - Show all commits

View File

@ -24,7 +24,7 @@ const favoriteProjects = computed(() => projectStore.favoriteProjects
</script>
<style lang="scss" scoped>
konrad marked this conversation as resolved Outdated

Probably because you use v-model instead of modelValue for ProjectsNavigation. I guess that when the template gets rendered it wants to bind to something like @update:modelValue="(newVal) => projects.value = newVal"

Probably because you use `v-model` instead of `modelValue` for ProjectsNavigation. I guess that when the template gets rendered it wants to bind to something like `@update:modelValue="(newVal) => projects.value = newVal"`

I've now changed it to :modelValue and that seems to work.

I've now changed it to `:modelValue` and that seems to work.
.menu {
.menu + .menu{
padding-top: math.div($navbar-padding, 2);
konrad marked this conversation as resolved Outdated

favoriteProjects also seems like something a store should export.

`favoriteProjects` also seems like something a store should export.

Done

Done

The top menu shouldn't have a padding top that has the sole purpose of creating space to the silbling component above. Since I still only check the code and don't have this branch running locally I'm not sure if the padding extends the background or something like that instead.

If not this .menu should use margin-top:

.menu + .menu {
	margin-top: math.div($navbar-padding, 2);
}
The top menu shouldn't have a padding top that has the sole purpose of creating space to the silbling component above. Since I still only check the code and don't have this branch running locally I'm not sure if the padding extends the background or something like that instead. If not this `.menu` should use margin-top: ```scss .menu + .menu { margin-top: math.div($navbar-padding, 2); } ```

Done.

Done.
}
</style>
konrad marked this conversation as resolved Outdated

Why the mapping / returning of a copy?

Why the mapping / returning of a copy?

That was a relic, I've removed it now.

That was a relic, I've removed it now.

View File

@ -112,23 +112,19 @@ const menuActive = computed(() => baseStore.menuActive)
}
}
.top-menu {
margin-top: math.div($navbar-padding, 2);
.top-menu .menu-list {
li {

Remove outer margin set from inside the component and add it from outside instead.

Remove outer margin set from inside the component and add it from outside instead.
font-weight: 600;
font-family: $vikunja-font;
}
.menu-list {
li {
font-weight: 600;
font-family: $vikunja-font;
}
.list-menu-link,
li > a {
padding-left: 2rem;
display: inline-block;
.list-menu-link,
li > a {
padding-left: 2rem;
display: inline-block;
.icon {
padding-bottom: .25rem;
}
.icon {
padding-bottom: .25rem;
}
}
}