Bläddra i källkod

adds walkthrough link to popover in home view

main
Keith Daulton 2 år sedan
förälder
incheckning
c7e8efe6b0
1 ändrade filer med 9 tillägg och 1 borttagningar
  1. +9
    -1
      src/webviews/apps/home/components/header-card.ts

+ 9
- 1
src/webviews/apps/home/components/header-card.ts Visa fil

@ -35,7 +35,7 @@ const template = html`
)} )}
You have access to GitLens+ features on ${x => (x.isPro ? 'any repo' : 'local & public repos')}, and all You have access to GitLens+ features on ${x => (x.isPro ? 'any repo' : 'local & public repos')}, and all
other GitLens features on any repo.<br /><br /> other GitLens features on any repo.<br /><br />
indicates GitLens+ features.
indicates GitLens+ features, <a class="link-inline" href="command:gitlens.plus.learn">learn more</a>
</pop-over> </pop-over>
</span> </span>
<span class="account-actions"> <span class="account-actions">
@ -277,6 +277,14 @@ const styles = css`
pop-over .action { pop-over .action {
margin-right: -0.2rem; margin-right: -0.2rem;
} }
.link-inline {
color: inherit;
text-decoration: underline;
}
.link-inline:hover {
color: var(--vscode-textLink-foreground);
}
`; `;
@customElement({ name: 'header-card', template: template, styles: styles }) @customElement({ name: 'header-card', template: template, styles: styles })

Laddar…
Avbryt
Spara