Skip to content

Conversation

@josergz
Copy link

@josergz josergz commented Feb 28, 2025

Description of changes

I worked on the open issue: Background gradient cut off on mobile devices.

Problem:

The issue occurs when the badge text is too long, causing the background to break on mobile view.

Problem example:

image

Solution:

The Badge.astro file was edited, changing the whitespace-nowrap property to whitespace-normal. This allows the text to wrap automatically to fit the available width, preventing the design from breaking on mobile devices.

Solution example:

image

@netlify
Copy link

netlify bot commented Feb 28, 2025

Deploy Preview for animated-churros-60739d ready!

Name Link
🔨 Latest commit 5b072c4
🔍 Latest deploy log https://app.netlify.com/sites/animated-churros-60739d/deploys/67c104bed7a6e700084ac4de
😎 Deploy Preview https://deploy-preview-84--animated-churros-60739d.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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