diff --git a/aider/website/index.html b/aider/website/index.html index 8a23d6d0e..5c08e6e86 100644 --- a/aider/website/index.html +++ b/aider/website/index.html @@ -244,8 +244,20 @@ aider --model o3-mini --api-key openai=<key> transition: opacity 0.4s ease, transform 0.4s ease, height 0.4s ease; display: flex; flex-direction: column; - justify-content: center; + justify-content: flex-start; overflow: hidden; + padding: 20px; + box-sizing: border-box; + } + + .testimonial-text { + line-height: 1.5; + margin-bottom: 15px; + } + + .testimonial-author { + margin-top: auto; + padding-top: 10px; } @@ -456,6 +468,9 @@ const testimonials = [ maxHeight = Math.max(maxHeight, height); }); + // Add a bit of extra padding to ensure enough space + maxHeight += 20; + // Set the max height on all cards cards.forEach(card => { card.style.height = `${maxHeight}px`;