Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBHeadline: add pulse alignment to match layout #1997

Open
mriehl opened this issue Nov 9, 2023 · 1 comment
Open

DBHeadline: add pulse alignment to match layout #1997

mriehl opened this issue Nov 9, 2023 · 1 comment

Comments

@mriehl
Copy link

mriehl commented Nov 9, 2023

The DBHeadline currently offers a pulse attribute but this is always left-aligned below the heading.

However according to the DB Layout Guidelines (not sure if I can add a link here because it's on the extranet) the pulse alignment should follow the content alignment.
For example if the content is centered then the pulse needs to be centered below the heading too.

This could be achieved by adding a prop like pulseAlignment?: "start" | "center" | "end".

@mriehl
Copy link
Author

mriehl commented Nov 9, 2023

Another solution could be to provide a standalone DBPulse component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant