Add View File label to commit browse

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2022-08-24 08:40:06 +02:00
committed by Alexis Sellier
parent e675e91638
commit 34f575ad98
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -96,7 +96,7 @@
<div class="column-right">
<CommitVerifiedBadge {commit} />
<span class="secondary hash">{formatCommit(commit.header.sha1)}</span>
<div class="browse" on:click|stopPropagation={() => browseCommit(commit.header.sha1)}>
<div class="browse" title="View file" on:click|stopPropagation={() => browseCommit(commit.header.sha1)}>
<Icon name="browse" width={17} inline fill />
</div>
</div>
@@ -146,7 +146,7 @@
{/if}
</div>
<div class="browse clickable" on:click|stopPropagation={() => dispatch("browse", file.path)}>
<Icon name="browse" width={20} inline fill />
<Icon name="browse" title="View file" width={20} inline fill />
</div>
</header>
{#if !collapsed}