Skip to content

Shortcodes: avoid hard coded styling #1417

@deining

Description

@deining

Currently shortcodes contain hard coded styling, which is against good practice.
Affected shortcodes:

  • card
  • imgproc
  • ...

These shortcodes need to be reworked so that styling is applied via scss.

Originally posted by @chalin in #1376 (comment)

I'd suggest adding custom styling through `cards-pace.scss`;
avoid the `border` class here, and even consider moving
the `me-4` into, say, `.td-card.card`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions