Skip to content

Commit 758615e

Browse files
fix: Tutorials CTA UI issue
1 parent bf2fb18 commit 758615e

6 files changed

Lines changed: 65 additions & 8 deletions

File tree

src/components/Footer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const Footer = ()=> {
1212
<FeedbackButtons />
1313
{/* <SubscribeButton /> */}
1414
<div className='footer-cta rounded'>
15-
<div className='flex items-center justify-between'>
15+
<div className='flex items-center justify-between flex-wrap'>
1616
<h3 className='cta-heading m-0'>Learn how to execute low code tests across 3000+ device / browser environments.</h3>
1717
<a href='/request-demo' target={'_blank'} className='cta-link border border-green-600 px-4 py-1.5 bg-green-600 text-white rounded h-10'>Schedule a free demo</a>
1818
</div>

src/components/Footer.scss

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,15 +323,24 @@
323323
}
324324
.footer-cta{
325325
background-color: #EFEFEF;
326-
padding: 2rem 6rem;
326+
padding: 2rem 3rem;
327+
@media only screen and (max-width: 767px) {
328+
@apply p-8;
329+
}
327330
.cta-heading{
328331
flex: 0 0 70%;
329332
font-size: 24px !important;
330333
line-height: 38px !important;
331334
margin: 0 !important;
335+
@media only screen and (max-width: 1023px) {
336+
@apply pb-8;
337+
flex: 0 0 100%;
338+
}
332339
}
333340
.cta-link{
334341
font-weight: 600;
335342
font-size: 18px;
343+
@apply text-center;
344+
height: fit-content;
336345
}
337346
}

0 commit comments

Comments
 (0)