Skip to content

Commit

Permalink
TSK-1525: fixed VacancyPresenter (#3237)
Browse files Browse the repository at this point in the history
  • Loading branch information
SasLord committed May 23, 2023
1 parent eeb33aa commit 8b6e304
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/presentation/src/components/NavLink.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -84,6 +84,7 @@
min-width: 0;
// overflow: hidden;
white-space: nowrap;
word-break: break-all;
text-overflow: ellipsis;
font-weight: inherit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}
2 changes: 1 addition & 1 deletion plugins/view-resources/src/components/DocNavLink.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8b6e304

Please sign in to comment.