Skip to content

Spinner deforms in flex box when sibling content is multiline #41578

Open
@danneu

Description

@danneu

Prerequisites

Describe the issue

Take the spinner example in the docs:

<div class="d-flex align-items-center">
  <strong>Loading...</strong>
  <div class="spinner-border ms-auto"></div>
</div>

And turn "Loading..." into a string that's long enough to wrap into multiple lines. The spinner will deform from a circle into an ellipse.

<div class="d-flex align-items-center">
  <strong>A long string of text that will wrap to the next line...</strong>
  <div class="spinner-border ms-auto" aria-hidden="true"></div>
</div>

Screenshot:

Image

Reduced test cases

https://codepen.io/danneu/pen/qEdwVvZ

What operating system(s) are you seeing the problem on?

macOS

What browser(s) are you seeing the problem on?

Chrome, Safari, Firefox

What version of Bootstrap are you using?

v5.3.7

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    To analyze

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions