Skip to content

Commit 243457b

Browse files
committed
Fixes home button spacing
1 parent 20a8cf2 commit 243457b

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

src/webviews/apps/home/home.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,8 @@ <h1 class="alert__title">Untrusted workspace</h1>
170170
<h1 class="alert__title">Get Started with GitLens</h1>
171171
<div class="alert__description">
172172
<p>Explore all of the powerful features in GitLens</p>
173-
<p class="button-container">
173+
<p class="button-container button-container--trio">
174174
<gl-button
175-
style="margin-bottom: 0.4rem"
176175
appearance="secondary"
177176
full
178177
href="command:gitlens.showWelcomePage"
@@ -189,8 +188,7 @@ <h1 class="alert__title">Get Started with GitLens</h1>
189188
href="https://www.youtube.com/watch?v=UQPb73Zz9qk?utm_source=gitlens-extension&utm_medium=home_banner"
190189
aria-label="Watch the GitLens Tutorial video"
191190
tooltip="Watch the GitLens Tutorial video"
192-
><code-icon icon="vm-running" style="margin-right: 0.6rem"></code-icon
193-
>Tutorial</gl-button
191+
><code-icon icon="vm-running" slot="prefix"></code-icon>Tutorial</gl-button
194192
>
195193
</span>
196194
</p>

src/webviews/apps/home/home.scss

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,12 @@ gl-button.is-basic {
528528
}
529529
}
530530

531+
.button-container--trio {
532+
> gl-button:first-child {
533+
margin-bottom: 0.4rem;
534+
}
535+
}
536+
531537
.button-group {
532538
display: inline-flex;
533539
gap: 0.4rem;
@@ -551,16 +557,6 @@ gl-button.is-basic {
551557
}
552558
}
553559

554-
.sticky {
555-
background-color: var(--color-view-background);
556-
position: -webkit-sticky;
557-
position: sticky;
558-
top: -1px;
559-
z-index: 2;
560-
padding-top: 1px;
561-
padding-bottom: 1px;
562-
}
563-
564560
.t-eyebrow.sticky {
565561
top: -8px;
566562
}

0 commit comments

Comments
 (0)