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

Non-breaking content that is wider than column pushes entire column to bottom of page #1138

Open
Carris-Toupin opened this issue May 25, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@Carris-Toupin
Copy link

Carris-Toupin commented May 25, 2022

Problem/Motivation

Using a long badge (more than a couple of words) is causing problems with pushing content or the sidebar left very far down the page leaving large areas of white-space.

Describe the bug

Using a long badge (more than a couple of words) is causing problems with pushing content below the badge or the sidebar left very far down the page leaving large areas of white-space. The badge may be changing the calculations for these elements. Also, these long badges are not responsive and look really weird on small screens.

To Reproduce

Steps to reproduce the behavior: Create a page with a badge that is a sentence long, add a sidebar left and some other content below the badge.

Proposed resolution

It would be nice to limit how long a badge could be, but if not, fix the white space issues and the responsiveness of the badge.

Expected behavior

Badge should not break page, add white-space or push sidebar or content down.

Screenshots

If applicable, add screenshots to help explain your problem. (Need a tool to share screenshots or screencasts as URLs? Try monosnap

Week-6-The-Capitalization-Table-Tech-Launch-Arizona

Desktop (please complete the following information):

  • OS: iOS 12.4
  • Browser Fire Fox
  • Version 101.0b9

Smartphone (please complete the following information):

  • Device: iPhone 13 Pro Max
  • OS: iOS 15.5
  • Browser Safari
  • Version [e.g. 22]

Additional context

Add any other context about the problem here.

@joeparsons joeparsons added the bug Something isn't working label May 25, 2022
@bberndt-uaz
Copy link
Contributor

This issue seems to be caused by the white-space: nowrap CSS property for badges which is coming from Bootstrap. Transferring this issue to arizona-bootstrap.

@bberndt-uaz bberndt-uaz transferred this issue from az-digital/az_quickstart Feb 6, 2024
@mmunro-ltrr
Copy link
Member

The white-space: nowrap CSS is coming from upstream Bootstrap rather than an Arizona Bootstrap override. Removing it has potential to break some existing sites & confuse anyone used to the upstream version.

@joeparsons
Copy link
Member

In our 2024-07-10 workshop @bberndt-uaz suggested that this would be less of a problem if callouts were better supported in AZ Quickstart (see az-digital/az_quickstart#3122).

@trackleft pointed out that this definitely seems like a legit grid bug.

@akslay Suggested isolating whether this is actually an Arizona Bootstrap issue or potentially a Quickstart/Drupal markup-specific issue.

@joeparsons joeparsons changed the title Long Badge/Label pushes content and/or sidebar down Non breaking content that is wider than column pushes entire column to bottom of page Jul 10, 2024
@joeparsons joeparsons changed the title Non breaking content that is wider than column pushes entire column to bottom of page Non-breaking content that is wider than column pushes entire column to bottom of page Jul 10, 2024
@mmunro-ltrr
Copy link
Member

To test the Bootstrap behavior, just edit the badge text in developer tools when viewing https://getbootstrap.com/docs/5.3/components/badge/

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

4 participants