Skip to content

cards-pane and tabbed-panes style import causes style overrides of Bootstrap card and Docsy highlight styles #1154

@chalin

Description

@chalin

The following PR

introduced an override of the Bootstrap styles for .card-deck, .card, etc. through shortcodes/cards-pane.scss. This style overrides is an undesirable breaking change.

My guess is that this problem was introduced way back via:

but that it wasn't as obviously manifested until cards-pane.scss got processed along with all other Bootstrap styles (as is done in #1009).

The card-related style changes should only be applied in the context of Docsy cards and card-decks.
@deining - do you agree?

Edit: this also happens for the .td-content .highlight Docsy style.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdesign/styleFront-end site design / styling

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions