WordPress.org

Make WordPress Core

Opened 3 months ago

Last modified 3 months ago

#43319 new enhancement

Bootstrap 4 Card issue in backend

Reported by: jimboobrien Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.1
Component: General Keywords:
Focuses: ui, administration Cc:

Description

Hello,

While working in the back-end of WordPress, I noticed that a class of .card is being applied from forms.css which is located in wp-admin. Bootstrap 4 is coming out with cards in the next version. Right now I'm building a Card Builder for use at the CDC. This is causing issues with my card builder and we don't have a very good method of changing core wordpress files in our build process. Therefore, updates will be a nightmare. If the selector .card on line 766 of forms.css was scoped to have another selector in front of it, then we could avoid having to change WP core in our project.

For the sake of having this issue pop up again later in the future I would advise prefixing .card in forms.css with form or something else to make it scoped differently. This will help avoid issues with Bootstrap 4 being brought into the back-end of WP.

  • Jim

Change History (1)

#1 @dd32
3 months ago

Drive-by comment - The .card styling seems to be limited to wp-admin/tools.php introduced with [31806]

Note: See TracTickets for help on using tickets.