Skip to content

In docs, .modal-footer code is not the same as output #25853

@altbdoor

Description

@altbdoor

I am referring to the modal components section of the Bootstrap documentation for v4.

The code example shows:

<div class="modal-footer">
  <button type="button" class="btn btn-primary">Save changes</button>
  <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>

But the output rendered is:
image

And upon inspecting the rendered HTML content, its:

<div class="modal-footer">
  <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
  <button type="button" class="btn btn-primary">Save changes</button>
</div>

Looks like a small mistake on the order of the buttons in the code example?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions