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

code elements overflow their container at narrow widths #255

Open
BlueSlug opened this issue Dec 21, 2021 · 0 comments
Open

code elements overflow their container at narrow widths #255

BlueSlug opened this issue Dec 21, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@BlueSlug
Copy link
Member

BlueSlug commented Dec 21, 2021

Describe the bug

code elements overflow their container at narrow widths

To reproduce

Steps to reproduce the behavior:

  1. Go to the Infusion 3.0 release news item: https://floeproject.org/news/2021-09-07-infusion-3-release/
  2. Scroll down to the code elements on the page, under the heading "Framework"
  3. See error

Expected behavior

code elements should not flow beyond their containers at any width.

Screenshots

code elements overflowing their container

Technical details

Desktop

  • OS: Windows 10 Pro 20H2
  • Browser: Chrome 96, Firefox 95

Smartphone / tablet

  • Device: Pixel 5
  • OS: Android 12
  • Browser: Chrome 96

Assistive technology used

N/A

Additional context or notes

This is only visible in desktop environments with very narrow viewports, though it was observed on the Pixel 5 without any changes to the environment.

The solution will likely involve the use of a CSS property such as word-break or line-break. Ideally, the line break would come at typical delimiting symbols such as .

@BlueSlug BlueSlug added the bug Something isn't working label Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant