TSK-1525: fixed VacancyPresenter (#3237)

This commit is contained in:
Alexander Platov 2023-05-23 08:27:55 +03:00 committed by GitHub
parent eeb33aa841
commit 8b6e304ceb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -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;

View File

@ -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}

View File

@ -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()