Skip to content

Parent text-align can break header logo/burger, footer links/social etc. #524

@AndyOGo

Description

@AndyOGo

Are you reporting a bug or a feature?

  • Bug
  • Feature

Expected Behavior

All components should be guarded against inheriting CSS properties like text-align.

Actual Behavior

None of the components are able to protect themselves against inherited CSS properties.

Steps to Reproduce the Problem

https://github.com/axa-ch/patterns-library-examples/blob/master/react/src/App.scss#L4

parent-text-align-center

Specifications

  • Browser: All
  • Browser Version: *

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions