Bootstrap: .alert-link styling in alerts should be the default instead of opt-in

Created on 2 Apr 2016  路  2Comments  路  Source: twbs/bootstrap

The alert link class should be available from the parent. If you're dynamically loading API responses from somewhere and they include links, this class isn't available without using javascript to add it later.

css v3

Most helpful comment

Using JavaScript or templating to add the class later seems like a perfectly fine option. It's a fairly minor inconvenience.

In general, Bootstrap styles are opt-in via explicit classes, so as to not interfere with third-party widgets/libraries. Your suggestion would run rather counter to this.
CC: @mdo

All 2 comments

Using JavaScript or templating to add the class later seems like a perfectly fine option. It's a fairly minor inconvenience.

In general, Bootstrap styles are opt-in via explicit classes, so as to not interfere with third-party widgets/libraries. Your suggestion would run rather counter to this.
CC: @mdo

Bootstrap 3 is no longer being officially developed or supported.

All work has moved onto our next major release, v4. As such, this issue or pull request is being closed as a "won't fix." For additional help and support, we recommend utilizing our community resources. Thanks for your understanding, and see you on the other side of v4!

<3,
@mdo and team

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ziyi2 picture ziyi2  路  3Comments

athimannil picture athimannil  路  3Comments

iklementiev picture iklementiev  路  3Comments

matsava picture matsava  路  3Comments

tiendq picture tiendq  路  3Comments