fix(navigation): show text ellipsis for very long project titles

This commit is contained in:
kolaente 2023-06-06 17:33:55 +02:00
parent 0dc7e83dc4
commit 46f5dcb4dc
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 6 additions and 1 deletions

View File

@ -32,7 +32,7 @@
<icon icon="grip-lines"/>
</span>
</div>
<span class="list-menu-title">{{ getProjectTitle(project) }}</span>
<span class="project-menu-title">{{ getProjectTitle(project) }}</span>
</BaseButton>
<BaseButton
v-if="project.id > 0"
@ -155,4 +155,9 @@ const canNestDeeper = computed(() => canNestProjectDeeper(props.level))
padding: 0 !important;
}
}
.project-menu-title {
overflow: hidden;
text-overflow: ellipsis;
}
</style>