1
0

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

View File

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