Sfoglia il codice sorgente

Adds images for view layout settings

main
Eric Amodio 2 anni fa
parent
commit
7a0c495678
6 ha cambiato i file con 29 aggiunte e 0 eliminazioni
  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 Vedi File

Prima Dopo
Larghezza: 357  |  Altezza: 410  |  Dimensione: 15 KiB

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

Prima Dopo
Larghezza: 357  |  Altezza: 410  |  Dimensione: 22 KiB

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

@ -21,6 +21,7 @@
GitLens views can be configured to be shown in different side bar layouts to best match your
workflow
</p>
<div class="presets mb-1">
<div class="preset">
<a
@ -30,6 +31,7 @@
>Source Control Layout (default)</a
>
<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 class="preset">
<a
@ -39,6 +41,7 @@
>GitLens Layout</a
>
<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>

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

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

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

@ -269,6 +269,11 @@
>Source Control Layout (default)</a
>
<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 class="preset">
<a
@ -278,6 +283,11 @@
>GitLens Layout</a
>
<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>

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

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

Caricamento…
Annulla
Salva