Skip to content

Commit

Permalink
Inline li in markdown, better summary check
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Tideman committed Nov 14, 2024
1 parent ba756dd commit e7dc1bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/layouts/workflow-header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@
$fullEventHistory,
$namespaces,
);
$: {
console.log('workflow?.summary: ', workflow?.summary);
}
</script>

<div class="flex items-center justify-between pb-4">
Expand Down Expand Up @@ -103,7 +107,7 @@
<Copyable
copyIconTitle={translate('common.copy-icon-title')}
copySuccessIconTitle={translate('common.copy-success-icon-title')}
content={workflow?.summary ?? workflow?.id}
content={workflow?.summary || workflow?.id}
clickAllToCopy
container-class="w-full"
class="overflow-hidden text-ellipsis"
Expand Down
4 changes: 4 additions & 0 deletions src/markdown.reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ li {
list-style: inside;
}

li * {
display: inline;
}

a {
gap: 0.5rem;
align-items: center;
Expand Down

0 comments on commit e7dc1bd

Please sign in to comment.