Skip to content

Commit

Permalink
fix truncation on event-summary rows
Browse files Browse the repository at this point in the history
  • Loading branch information
rossedfort committed Aug 31, 2023
1 parent f1779c1 commit 4aa74d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/lib/components/event/event-details-row.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
{:else if shouldDisplayAsExecutionLink(key)}
<div class="flex w-full flex-wrap items-center gap-1 pr-1">
<p class="mr-3 truncate text-sm">{format(key)}</p>
<div class="text-sm">
<div class="text-sm truncate">
<Copyable
copyIconTitle={translate('copy-icon-title')}
copySuccessIconTitle={translate('copy-success-icon-title')}
content={value}
container-class=" xl:flex-row"
container-class="xl:flex-row h-12 pr-1"
>
<Link
class="truncate"
Expand All @@ -71,12 +71,12 @@
{:else if shouldDisplayChildWorkflowLink(key, attributes)}
<div class="flex w-full flex-wrap items-center gap-1 pr-1">
<p class="truncate text-sm">{format(key)}</p>
<div class="text-sm">
<div class="text-sm truncate">
<Copyable
copyIconTitle={translate('copy-icon-title')}
copySuccessIconTitle={translate('copy-success-icon-title')}
content={value}
container-class="xl:flex-row"
container-class="xl:flex-row h-12 pr-1"
>
<Link
class="truncate"
Expand All @@ -95,12 +95,12 @@
{:else if shouldDisplayAsTaskQueueLink(key)}
<div class="flex w-full flex-wrap items-center gap-1 pr-1">
<p class="mr-3 truncate text-sm">{format(key)}</p>
<div class="text-sm">
<div class="text-sm truncate">
<Copyable
copyIconTitle={translate('copy-icon-title')}
copySuccessIconTitle={translate('copy-success-icon-title')}
content={value}
container-class=""
container-class="h-12 pr-1"
>
<Link
class="truncate"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/event/event-summary-row.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
{#if !expanded}
<td class="overflow-hidden">
<div class="flex w-full items-center justify-between">
<div class="grow">
<div class="grow truncate">
<EventDetailsRow
{...getSingleAttributeForEvent(currentEvent)}
{attributes}
Expand Down

0 comments on commit 4aa74d7

Please sign in to comment.