TSK-1525: fixed VacancyPresenter (#3237)

This commit is contained in:
Alexander Platov
2023-05-23 12:27:55 +07:00
committed by GitHub
parent eeb33aa841
commit 8b6e304ceb
3 changed files with 4 additions and 3 deletions
@@ -21,7 +21,7 @@
export let noUnderline = disabled
export let inline = false
export let colorInherit: boolean = false
export let shrink: number = 0
export let shrink: number = 1
export let accent: boolean = false
function clickHandler (e: MouseEvent) {
@@ -84,6 +84,7 @@
min-width: 0;
// overflow: hidden;
white-space: nowrap;
word-break: break-all;
text-overflow: ellipsis;
font-weight: inherit;
@@ -32,7 +32,7 @@
{#if !inline}
<div class="icon"><Icon icon={recruit.icon.Vacancy} size={'small'} /></div>
{/if}
<span class="label" class:no-underline={disabled}>{value.name}</span>
<span class="label nowrap" class:no-underline={disabled}>{value.name}</span>
</div>
</DocNavLink>
{/if}
@@ -27,7 +27,7 @@
export let colorInherit: boolean = false
export let component: AnyComponent = view.component.EditDoc
export let props: Record<string, any> = {}
export let shrink: number = 0
export let shrink: number = 1
export let accent: boolean = false
const client = getClient()