Skip to content

Scope bootstrap styles to avoid conflict #852

@pgiraud

Description

@pgiraud

When PEV2 is integrated in an application, there may be CSS rules conflicts. For example, if the application uses a css framework which shares class names with Bootstrap. This possible results in styling being inadvertently changed (button size, margin, padding, etc.).

To avoid this, the imported bootstrap styles could be scoped.

Options:

  • using postCSS,
  • using VueJS scoped style.
  • other ?

See https://wpfrank.com/how-to-scope-css-library-to-avoid-design-conflicts/

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions