Fixed subissue title overflow (#2405)

Signed-off-by: Anton Brechka <anton.brechka@xored.com>
This commit is contained in:
mrsadman99 2022-12-01 10:00:47 +03:00 committed by GitHub
parent 2b87c15c0f
commit e83e0ee622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,11 @@
{#if value} {#if value}
<span class="titlePresenter-container" class:with-margin={shouldUseMargin} title={value.title}> <span class="titlePresenter-container" class:with-margin={shouldUseMargin} title={value.title}>
<span class="name overflow-label cursor-pointer" on:click={handleIssueEditorOpened}>{value.title}</span> <span
class="name overflow-label cursor-pointer"
style={`max-width: ${value.parents.length !== 0 ? 95 : 100}%`}
on:click={handleIssueEditorOpened}>{value.title}</span
>
<ParentNamesPresenter {value} /> <ParentNamesPresenter {value} />
</span> </span>
{/if} {/if}
@ -41,6 +45,7 @@
// flex-shrink: 10; // flex-shrink: 10;
.name { .name {
flex-shrink: 0;
&:hover { &:hover {
text-decoration: underline; text-decoration: underline;
} }