This repository has been archived by the owner on Sep 7, 2024. It is now read-only.
fix: subscribe form is having scrollbar on devices below 452px inside… #819
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.
… a section
Fixed the issue where subscribe for is has scrollbar on devices below 452px
Fixes Issue
This PR fixes the following issues:
closes #741
Update the NewsLetter.jsx file. Add an event listener that will update the windowWidth value coming from the browser
Changes proposed
Here comes all the changes proposed through this PR
Check List (Check all the boxes which are applicable)
Screenshots
Before fix
![261338216-6c2a0b99-46f2-4fb9-8613-9b126018b150](https://github.com/WeMakeDevs/wemakedevs/assets/120767897/287caf22-cf73-4cd7-a46a-9ace6b6e968f)
After fix
![image](https://github.com/WeMakeDevs/wemakedevs/assets/120767897/46a21dd8-d730-4da1-95db-d5cdc8f73889)
Summary by CodeRabbit
NewsLetter
section on our website. The section now dynamically adjusts its size based on your screen size, providing a better viewing experience across different devices. This update ensures that the content is always displayed in the most optimal way, regardless of how you resize your browser window.