Quellcode durchsuchen

Adds images for view layout settings

main
Eric Amodio vor 2 Jahren
Ursprung
Commit
7a0c495678
6 geänderte Dateien mit 29 neuen und 0 gelöschten Zeilen
  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 Datei anzeigen

Vorher Nachher
Breite: 357  |  Höhe: 410  |  Größe: 15 KiB

BIN
src/webviews/apps/media/views-layout-scm.png Datei anzeigen

Vorher Nachher
Breite: 357  |  Höhe: 410  |  Größe: 22 KiB

+ 3
- 0
src/webviews/apps/settings/partials/views.html Datei anzeigen

@ -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 Datei anzeigen

@ -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 Datei anzeigen

@ -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 Datei anzeigen

@ -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 {

Laden…
Abbrechen
Speichern