Skip to content

Commit

Permalink
Make timeline axis sticky, move to paginationTable, better borders
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Tideman committed Aug 19, 2024
1 parent a4bcc10 commit 85776ac
Show file tree
Hide file tree
Showing 21 changed files with 306 additions and 1,090 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,10 @@
"mdast-util-to-hast": "^13.2.0",
"monaco-editor": "^0.50.0",
"remark-stringify": "^10.0.3",
"sanitize-html": "^2.12.1",
"tailwind-merge": "^1.14.0",
"unist-util-remove": "^4.0.0",
"url-pattern": "^1.0.3",
"uuid": "^9.0.0",
"vis-timeline": "^7.7.3"
"uuid": "^9.0.0"
},
"devDependencies": {
"@axe-core/playwright": "^4.9.0",
Expand Down
122 changes: 12 additions & 110 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/lib/components/event/event-details-full.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
{selectedId}
onGroupClick={handleGroupClick}
/>
<div class="block w-full bg-subtle lg:w-2/3">
<div class="block w-full lg:w-2/3">
{#each eventDetails as [key, value] (key)}
<EventDetailsRowExpanded {key} {value} {attributes} class="w-full" />
{/each}
</div>
</div>
{:else}
<div class="w-full bg-subtle">
<div class="w-full">
{#each eventDetails as [key, value] (key)}
<EventDetailsRowExpanded {key} {value} {attributes} class="w-full" />
{/each}
Expand Down
10 changes: 1 addition & 9 deletions src/lib/components/event/event-details-row-expanded.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
$: stackTrace = getStackTrace(codeBlockValue);
</script>

<div class="row {$$props.class}">
<div class="flex {$$props.class}">
{#if typeof value === 'object'}
<div
class="content code-block-row"
Expand Down Expand Up @@ -166,10 +166,6 @@
</div>

<style lang="postcss">
.row {
@apply flex px-4 first:pt-0;
}
.content {
@apply block w-full border-b-2 border-slate-200 py-2 text-left;
}
Expand All @@ -186,10 +182,6 @@
@apply flex w-full items-center gap-4 py-2 text-left xl:flex;
}
.row:last-of-type .content {
@apply border-b-0;
}
.badge {
@apply surface-subtle rounded-sm p-1;
}
Expand Down
Loading

0 comments on commit 85776ac

Please sign in to comment.