Files
radicle-explorer/src/views/projects
Rūdolfs Ošiņš e79685b8a6 Improve patch view visuals
- underline in commit hover state
- indent revision comments
- dim "Revision" text in header
- fix vertical alignment of header items in right-hand-side
- don't show first revision description, it's already shown as part of the
  patch description

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-05 16:15:11 +02:00
..
2023-06-05 16:15:11 +02:00
2023-06-05 16:15:11 +02:00
2023-06-05 16:15:11 +02:00
2023-06-05 16:15:11 +02:00
2023-06-05 16:15:11 +02:00
2023-05-11 10:51:35 +02:00

<script lang="ts">
  import type { ProjectRoute } from "@app/views/projects/router";

  import Markdown from "@app/components/Markdown.svelte";

  export let content: string;
  export let rawPath: string;
  export let activeRoute: ProjectRoute;

  $: path = activeRoute.params.path || "/";
  $: hash = activeRoute.params.hash || null;
</script>

<style>
  article {
    padding: 2rem;
    width: 100%;
    background: var(--color-background-1);
    border-bottom-left-radius: var(--border-radius-small);
    border-bottom-right-radius: var(--border-radius-small);
  }
</style>

<article>
  <Markdown {content} {hash} {rawPath} {path} />
</article>