Skip to content

Centering components horizontally #393

@swashbuck

Description

@swashbuck

Subject of the enhancement

Currently, there is no way to center a component horizontally. This would be useful to have when using a column class (ex. col-md-8) to reduce the width of the component.

Suggestion

After speaking with @guywillis , we decided:

  1. Add a new JSON property called _componentHorizontalAlignment
  2. Create a new CSS class called align-horz-center.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions