Skip to content

Commit 926c1bf

Browse files
Merge pull request #530 from dustinknopoff/master
fix(testimonials): Vertically align testimonials everywhere
2 parents bf0ff26 + 816e3b5 commit 926c1bf

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/styles/app.scss

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -623,13 +623,11 @@ blockquote::before {
623623
display: none;
624624
}
625625

626-
.vertical-center {
626+
.testimonial {
627627
display: flex;
628628
align-items: center;
629-
}
630-
631-
@media only screen and (max-width: 545px) {
632-
.vertical-center {
629+
630+
@media only screen and (max-width: 545px) {
633631
display: block;
634632
}
635633
}

templates/what/networking/production.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="highlight"></div>
66
</header>
77
<div class="testimonials">
8-
<div class="testimonial row vertical-center">
8+
<div class="testimonial row">
99
<div class="four columns">
1010
<img src="/static/images/firefox.png" />
1111
</div>
@@ -21,7 +21,7 @@
2121
</p>
2222
</div>
2323
</div>
24-
<div class="testimonial row vertical-center">
24+
<div class="testimonial row">
2525
<div class="eight columns">
2626
<blockquote>
2727
Rust is foundational to the Linkerd project’s technology roadmap. Its type system allows us to

0 commit comments

Comments
 (0)