瀏覽代碼

Adds images for view layout settings

main
Eric Amodio 2 年之前
父節點
當前提交
7a0c495678
共有 6 個文件被更改,包括 29 次插入0 次删除
  1. 二進制
      src/webviews/apps/media/views-layout-gitlens.png
  2. 二進制
      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

二進制
src/webviews/apps/media/views-layout-gitlens.png 查看文件

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

二進制
src/webviews/apps/media/views-layout-scm.png 查看文件

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

+ 3
- 0
src/webviews/apps/settings/partials/views.html 查看文件

@ -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 查看文件

@ -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 查看文件

@ -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 查看文件

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

Loading…
取消
儲存