Skip to content

Commit c3eb6f2

Browse files
committed
fix: positioning of testimonials
1 parent 1534866 commit c3eb6f2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

assets/scss/components/_testimonial.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* General styles for the sticky note */
22
.sticky-note {
3-
width: 100%;
3+
max-width: 600px; // Adjust as needed
4+
margin: 0 auto;
45
height: 100%;
56
background-color: $white-offset;
67
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);

layouts/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ <h2 class="feature-title">{{ .title }}</h2>
7070

7171
<div class="strip">
7272
<div class="container pt-6 pb-6 pt-md-10 pb-md-10">
73-
<div class="row">
73+
<div class="row justify-content-center align-items-stretch">
7474
{{ range .Site.Data.testimonial }}
75-
<div class="col-12 col-md-4">
75+
<div class="col-12 col-md-5 d-flex">
7676
{{ partial "testimonial.html" . }}
7777
</div>
7878
{{ end }}

0 commit comments

Comments
 (0)