Browse Source

Adds discussion link to the Focus View

main
Keith Daulton 1 year ago
parent
commit
9b63d1b939
2 changed files with 44 additions and 1 deletions
  1. +10
    -1
      src/webviews/apps/plus/focus/focus.html
  2. +34
    -0
      src/webviews/apps/plus/focus/focus.scss

+ 10
- 1
src/webviews/apps/plus/focus/focus.html View File

@ -7,7 +7,16 @@
<body class="preload app">
<header class="app__header" id="header">
<span class="badge">Preview</span>
<account-badge id="account-badge"></account-badge>
<span class="app__header-group">
<account-badge id="account-badge"></account-badge>
<a
href="https://github.com/gitkraken/vscode-gitlens/discussions/2535"
title="Focus View Feedback"
aria-label="Focus View Feedback"
class="feedback-button"
><code-icon icon="feedback"></code-icon
></a>
</span>
</header>
<div class="app__content" id="content">

+ 34
- 0
src/webviews/apps/plus/focus/focus.scss View File

@ -210,6 +210,32 @@ p {
}
}
.feedback-button {
position: relative;
appearance: none;
font-family: inherit;
font-size: 1.2rem;
line-height: 2.2rem;
background-color: transparent;
border: none;
color: inherit;
padding: 0 0.75rem;
cursor: pointer;
border-radius: 0.3rem;
height: auto;
&:hover {
background-color: var(--background-10);
color: var(--color-foreground);
text-decoration: none;
}
code-icon {
font-size: 1.6rem;
vertical-align: middle;
}
}
.app {
display: flex;
flex-direction: column;
@ -230,6 +256,14 @@ p {
text-align: right;
background-color: var(--background-05);
&-group {
flex: none;
display: flex;
flex-direction: row;
align-items: center;
gap: 0.5rem;
}
}
&__content {

Loading…
Cancel
Save