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

UL/LI and close in alert message #14802

Closed
mvrhov opened this issue Oct 15, 2014 · 4 comments · Fixed by #14858
Closed

UL/LI and close in alert message #14802

mvrhov opened this issue Oct 15, 2014 · 4 comments · Fixed by #14858
Milestone

Comments

@mvrhov
Copy link

mvrhov commented Oct 15, 2014

When UL/LI is placed inside the alert message and there is also a close button, the close button is somewhat out of place.

@mvrhov mvrhov changed the title UL/LI style in alert message UL/LI and close in alert message Oct 15, 2014
@cvrebert
Copy link
Collaborator

@mvrhov Could you provide a JS Fiddle (or similar) live example of the problem?

@cvrebert cvrebert added the css label Oct 15, 2014
@mvrhov
Copy link
Author

mvrhov commented Oct 15, 2014

Here you go: http://jsfiddle.net/yy55sw5d/

@hnrch02
Copy link
Collaborator

hnrch02 commented Oct 15, 2014

You need to place the button first in the markup, before any content. You also need to add the .alert-dismissible class. See http://jsfiddle.net/yy55sw5d/1/.
Please note that the classes .alert-block and .col-12 are not part of Bootstrap.

@cvrebert Should we document the required source order more clearly?

@cvrebert
Copy link
Collaborator

I suppose yes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants