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

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

Closed
altbdoor opened this issue Mar 15, 2018 · 1 comment
Closed

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

altbdoor opened this issue Mar 15, 2018 · 1 comment

Comments

@altbdoor
Copy link

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?

@Bennet11
Copy link
Contributor

Bennet11 commented Mar 15, 2018

Hi there, Im just new here also in bootstrap but I tried to reproduce the same code mentioned in the documentation and it seems like the button were interchanged. Nice catch though

Do you mind if I work on this sir?

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

No branches or pull requests

2 participants