Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

[Fix] bug Issue #741 that was occuring in Newsletter Form Section when display size is less 470 px #798

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/layout/JoinUs/NewsLetter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ const NewsLetter = () => {
if (windowWidth < 900) {
setIframeHeight(830);
} else if (windowWidth < 1250) {
setIframeHeight(700);
setIframeHeight(800);
} else {
setIframeHeight(670);
setIframeHeight(740);
}
}, []);

return (
<div id='newsletter'>
<div id='newsletter' className='overflow-hidden'>
<div className='mx-auto flex flex-col items-center justify-center gap-4 text-center'>
<h2 className='h1'>Subscribe to our newsletter</h2>
<hr className='styled-hr' />
Expand Down