Browse Source

Adds images for view layout settings

main
Eric Amodio 2 years ago
parent
commit
7a0c495678
6 changed files with 29 additions and 0 deletions
  1. BIN
      src/webviews/apps/media/views-layout-gitlens.png
  2. BIN
      src/webviews/apps/media/views-layout-scm.png
  3. +3
    -0
      src/webviews/apps/settings/partials/views.html
  4. +8
    -0
      src/webviews/apps/settings/settings.scss
  5. +10
    -0
      src/webviews/apps/welcome/welcome.html
  6. +8
    -0
      src/webviews/apps/welcome/welcome.scss

BIN
src/webviews/apps/media/views-layout-gitlens.png View File

Before After
Width: 357  |  Height: 410  |  Size: 15 KiB

BIN
src/webviews/apps/media/views-layout-scm.png View File

Before After
Width: 357  |  Height: 410  |  Size: 22 KiB

+ 3
- 0
src/webviews/apps/settings/partials/views.html View File

@ -21,6 +21,7 @@
GitLens views can be configured to be shown in different side bar layouts to best match your GitLens views can be configured to be shown in different side bar layouts to best match your
workflow workflow
</p> </p>
<div class="presets mb-1"> <div class="presets mb-1">
<div class="preset"> <div class="preset">
<a <a
@ -30,6 +31,7 @@
>Source Control Layout (default)</a >Source Control Layout (default)</a
> >
<p>Shows all the views together on the Source Control side bar</p> <p>Shows all the views together on the Source Control side bar</p>
<img class="image__preview" src="#{webroot}/media/views-layout-scm.webp" loading="lazy" />
</div> </div>
<div class="preset"> <div class="preset">
<a <a
@ -39,6 +41,7 @@
>GitLens Layout</a >GitLens Layout</a
> >
<p>Shows all the views together on the GitLens side bar</p> <p>Shows all the views together on the GitLens side bar</p>
<img class="image__preview" src="#{webroot}/media/views-layout-gitlens.webp" loading="lazy" />
</div> </div>
</div> </div>

+ 8
- 0
src/webviews/apps/settings/settings.scss View File

@ -226,10 +226,12 @@ header {
display: flex; display: flex;
width: 100%; width: 100%;
flex-wrap: wrap; flex-wrap: wrap;
gap: 1em;
} }
.preset { .preset {
text-align: center; text-align: center;
margin: 0 1em;
p { p {
color: var(--color-foreground--75); color: var(--color-foreground--75);
@ -239,6 +241,12 @@ header {
margin: -0.5em 1em 0.5em 1em; margin: -0.5em 1em 0.5em 1em;
text-align: center; text-align: center;
} }
.image__preview {
display: flex;
width: auto;
margin-top: 1em;
}
} }
section { section {

+ 10
- 0
src/webviews/apps/welcome/welcome.html View File

@ -269,6 +269,11 @@
>Source Control Layout (default)</a >Source Control Layout (default)</a
> >
<p>Shows all the views together on the Source Control side bar</p> <p>Shows all the views together on the Source Control side bar</p>
<img
class="image__preview"
src="#{webroot}/media/views-layout-scm.webp"
loading="lazy"
/>
</div> </div>
<div class="preset"> <div class="preset">
<a <a
@ -278,6 +283,11 @@
>GitLens Layout</a >GitLens Layout</a
> >
<p>Shows all the views together on the GitLens side bar</p> <p>Shows all the views together on the GitLens side bar</p>
<img
class="image__preview"
src="#{webroot}/media/views-layout-gitlens.webp"
loading="lazy"
/>
</div> </div>
</div> </div>

+ 8
- 0
src/webviews/apps/welcome/welcome.scss View File

@ -200,10 +200,12 @@ header {
display: flex; display: flex;
width: 100%; width: 100%;
flex-wrap: wrap; flex-wrap: wrap;
gap: 1em;
} }
.preset { .preset {
text-align: center; text-align: center;
margin: 0 1em;
p { p {
color: var(--color-foreground--75); color: var(--color-foreground--75);
@ -213,6 +215,12 @@ header {
margin: -0.5em 1em 0.5em 1em; margin: -0.5em 1em 0.5em 1em;
text-align: center; text-align: center;
} }
.image__preview {
display: flex;
width: auto;
margin-top: 1em;
}
} }
section { section {

Loading…
Cancel
Save