Skip to content

Commit fe12548

Browse files
committed
Improve testimonials
1 parent 7376b70 commit fe12548

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

_sass/components.scss

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -430,16 +430,16 @@
430430
.testimonial__person {
431431
display: flex;
432432
align-items: center;
433-
gap: var(--space-3);
433+
gap: var(--space-4);
434434
color: var(--color-text-secondary);
435435
font-size: var(--font-size-sm);
436436
line-height: var(--line-height-snug);
437437
}
438438

439439
.testimonial__avatar {
440440
display: block; // override base img rule so flex sizing works
441-
inline-size: 2rem;
442-
block-size: 2rem;
441+
inline-size: 2.75rem;
442+
block-size: 2.75rem;
443443
flex: 0 0 auto;
444444
border-radius: var(--border-radius-full);
445445
object-fit: cover;
@@ -456,7 +456,9 @@
456456
}
457457

458458
.testimonial__byline {
459-
display: inline; // name and conference run together on one line
459+
display: flex; // name stacked over conference beside the avatar
460+
flex-direction: column;
461+
line-height: var(--line-height-snug);
460462
}
461463

462464
.testimonial__name {
@@ -466,10 +468,6 @@
466468

467469
.testimonial__conference {
468470
color: var(--color-text-secondary);
469-
470-
&::before {
471-
content: ", ";
472-
}
473471
}
474472

475473
// ── Inline tip callout ────────────────────────────────────────────────────

index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ title: Ruby Community Guides
55

66
<div class="index-intro" markdown="1">
77

8-
<p class="eyebrow">Living resources for organizers</p>
8+
Living resources for organizers
9+
{: .eyebrow }
910

1011
# Ruby Community Guides
1112

0 commit comments

Comments
 (0)