Skip to content

Commit

Permalink
Fix testimonial section on Service pages (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
viktor-yakubiv authored Sep 2, 2020
1 parent 236bb08 commit 6d60e8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion components/pages/service.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const ServicePage = ({

{testimonial && (
<Testimonial
className={`${styles.servicePageTestimonial} content`}
className={`section ${styles.testimonial}`}
{...testimonial}
/>
)}
Expand Down
10 changes: 4 additions & 6 deletions components/pages/service.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "components/bootstrap/core";
@import 'components/bootstrap/core';

.service-section {
}
Expand Down Expand Up @@ -55,7 +55,7 @@
}

.service-page :global(.article-nav) {
margin-bottom: $spacer;
margin-bottom: $spacer;
}

.service-page-title {
Expand Down Expand Up @@ -121,8 +121,6 @@
max-width: $content-max-width;
}

.service-page-testimonial {
margin-top: $section-sm-spacer;
margin-bottom: $section-sm-spacer;
margin-left: auto;
.testimonial {
background: $gray-200;
}

1 comment on commit 6d60e8b

@vercel
Copy link

@vercel vercel bot commented on 6d60e8b Sep 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.