Skip to content

Commit

Permalink
testimonials: added logo shape and fixed square logos
Browse files Browse the repository at this point in the history
  • Loading branch information
stockholmux committed Nov 1, 2021
1 parent 7e39a62 commit d16abdb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/testimonial.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="testimonial">
<div class="testimonial {{ include.testimonial.logo_shape }}">
{{ include.key }}
{{ include.testimonial.content }}
<div class="attribution">
Expand Down
7 changes: 7 additions & 0 deletions _sass/_opensearch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,13 @@ dl.list-features {


.testimonial {
&.square {
.attribution {
img {
height: 8em;
}
}
}
p {
//font-size: 2.25rem;
margin: 0;
Expand Down
1 change: 1 addition & 0 deletions _testimonials/goldman-sachs.markdown
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
logo_shape: square
featured: true
logo: /assets/media/testimonials/goldman-sachs.png
author:
Expand Down
1 change: 1 addition & 0 deletions _testimonials/wipro.markdown
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
logo_shape: square
featured: true
logo: /assets/media/testimonials/wipro.png
author:
Expand Down

0 comments on commit d16abdb

Please sign in to comment.