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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes Issue #741
This PR fixes the following issues: -When the display width is less than 470px then the y-axis scroll bar appear out of nowhere only in the newsletter form section
closes #issue-number #741
Changes proposed
Here comes all the changes proposed through this PR .
setIframeHeight(700)
in else-if block andsetIframeHeight(670)
in else block tosetIframeHeight(800)
andsetIframeHeight(740)
respectivelyoverflow-hidden
in parent DivCheck List (Check all the boxes which are applicable)
Screenshots
Before
After
Summary by CodeRabbit
NewsLetter
component in theJoinUs
layout. The changes dynamically adjust the height of the newsletter iframe based on the window width, improving the responsiveness and visual consistency across different screen sizes.