mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-28 22:03:30 +03:00
removed tooltip and added a hover state to help indicate clickableness
This commit is contained in:
parent
3ac4a18c93
commit
76e3b3f164
@ -13,7 +13,6 @@
|
||||
import { copyToClipboard } from '$lib/utils/clipboard';
|
||||
import { getContext, getContextStore } from '$lib/utils/context';
|
||||
import { getTimeAgo } from '$lib/utils/timeAgo';
|
||||
import { tooltip } from '$lib/utils/tooltip';
|
||||
import { openExternalUrl } from '$lib/utils/url';
|
||||
import { BranchController } from '$lib/vbranches/branchController';
|
||||
import { createCommitStore } from '$lib/vbranches/contexts';
|
||||
@ -196,7 +195,6 @@
|
||||
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
||||
<span
|
||||
class="commit__id"
|
||||
use:tooltip={{ text: commit.id, noMaxWidth: true }}
|
||||
on:click|stopPropagation={() => copyToClipboard(commit.id)}
|
||||
role="button"
|
||||
tabindex="0"
|
||||
@ -437,6 +435,10 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--size-4);
|
||||
|
||||
&:hover {
|
||||
color: var(--clr-text-1);
|
||||
}
|
||||
}
|
||||
|
||||
.commit__subtitle-divider {
|
||||
|
Loading…
Reference in New Issue
Block a user