Skip to content

Commit 600a8d5

Browse files
update index box
1 parent 0bf628c commit 600a8d5

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

assets/css/components/immersive.css

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,10 +459,14 @@
459459
font-size: 0.85rem;
460460
justify-self: center;
461461
width: fit-content;
462-
max-width: 280px;
462+
min-width: 280px;
463+
max-width: 320px;
463464
margin-left: auto;
464465
margin-right: auto;
465466
text-shadow: 0 1px 4px rgba(0,0,0,0.6);
467+
white-space: nowrap;
468+
overflow: hidden;
469+
text-overflow: ellipsis;
466470
}
467471

468472
.imm-about__subscribe:hover {
@@ -472,7 +476,7 @@
472476
}
473477

474478
.imm-about__button {
475-
padding: 3px 10px;
479+
padding: 4px 12px;
476480
border-radius: 14px;
477481
background: rgba(255,255,255,0.15);
478482
color: #fff;
@@ -481,6 +485,9 @@
481485
border: 1px solid rgba(255,255,255,0.2);
482486
transition: all 200ms ease;
483487
white-space: nowrap;
488+
flex-shrink: 0;
489+
min-width: 60px;
490+
text-align: center;
484491
}
485492

486493
.imm-about__button:hover {
@@ -566,6 +573,14 @@
566573
.imm-about__subscribe {
567574
padding: 8px 12px;
568575
gap: 0.5rem;
576+
min-width: 260px;
577+
max-width: 300px;
578+
font-size: 0.8rem;
579+
}
580+
.imm-about__button {
581+
padding: 3px 10px;
582+
font-size: 0.75rem;
583+
min-width: 55px;
569584
}
570585
}
571586

assets/css/screen.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,7 @@ hr {
996996
justify-content: space-between;
997997
width: 100%;
998998
max-width: 480px;
999+
min-width: 300px;
9991000
height: 52px;
10001001
padding: 0 8px 0 24px;
10011002
margin-top: 40px;
@@ -1004,6 +1005,8 @@ hr {
10041005
cursor: pointer;
10051006
background-color: var(--color-border);
10061007
border-radius: 72px;
1008+
white-space: nowrap;
1009+
overflow: hidden;
10071010
}
10081011

10091012
.gh-subscribe-input .gh-btn {

index.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<p class="gh-about-secondary">{{{@custom.secondary_header}}}</p>
3939
{{/if}}
4040
<div class="gh-subscribe-input" data-portal>
41-
heyyou@youreawesome.com example@youreawesome.com
41+
heyyou@youreawesome.com
4242
<span class="gh-btn gh-primary-btn">Subscribe</span>
4343
</div>
4444
{{/unless}}

0 commit comments

Comments
 (0)