Simplify global anchor styles

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2022-10-18 18:02:21 +02:00
parent ba8522c8ca
commit cfb1c5acd1
9 changed files with 41 additions and 46 deletions
+5 -2
View File
@@ -1,7 +1,7 @@
<script lang="ts">
import { link } from "svelte-routing";
import Avatar from "@app/Avatar.svelte";
import Clipboard from "@app/Clipboard.svelte";
import { Link } from "svelte-routing";
import { formatSeedId } from "@app/utils";
import { type PeerId, type Project, ProjectContent } from "@app/project";
@@ -45,6 +45,9 @@
width: 2rem;
height: 2rem;
}
.project-name:hover {
color: inherit;
}
.urn {
font-family: var(--font-family-monospace);
font-size: var(--font-size-tiny);
@@ -93,7 +96,7 @@
<span class="divider">/</span>
{/if}
<span class="truncate">
<Link to={rootPath()}>{project.name}</Link>
<a use:link class="project-name" href={rootPath()}>{project.name}</a>
</span>
{#if peer}
<span class="peer-id">