Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: replaced {' '} with   to prevent line breaks #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

douglas-espindola
Copy link

Explanation of Changes

I have replaced instances of {" "} with   in several parts of the code. This change was made to improve both the semantics and layout consistency of the project. The   (Non-Breaking Space) ensures that specific elements, such as words or phrases, will not break across lines, which can be important for maintaining visual integrity.

Reasons for the change:

1 - Preventing Unwanted Line Breaks: By using  , we can prevent text from being broken up in inappropriate places, especially in responsive designs where space is limited.

2 - Improved Semantics: The   is more semantically correct when the goal is to prevent breakpoints, as it explicitly conveys the intention of keeping elements together.

3 - Visual Consistency: This ensures that elements such as names, phrases, or numbers that should remain on the same line do so, regardless of screen size or resolution.

This change was carefully tested to ensure that the design and layout behave correctly on various screen sizes.

Copy link

vercel bot commented Sep 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
shadcn-landing-page ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 10, 2024 4:47pm

Sotatek-SonNguyen16 pushed a commit to Sotatek-SonNguyen16/shadcn-landing-page that referenced this pull request Sep 11, 2024
…-object

fix: fix undefined negRiskMarketID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant