ritterim / platform-ui

A CSS framework build all of our apps and websites.
https://platformui.com
MIT License
3 stars 4 forks source link

Refactor Message Component - Spacing/Header (Possibly 2.0) #782

Closed tedk13 closed 2 years ago

tedk13 commented 2 years ago

🔧 Enhancement Request

I think we should consider changing the way we do headers in our message components. The reason for this is for the situations when we do not have a header inside the message. The way to remove the header is a bit complicated, add an empty data-header="" attribute. Even though that might be clear to some users of the framework, you still need to jack with the content inside the message to combat the margin-bottom that still renders from the :before message header.

I believe messages were a pretty early component. At this point, I think we should style the message and maybe just let users add whatever content they want. I think the initial idea of adding the Header dynamically was pretty cool but it has the potential to overcomplicate the code.

Who is asking for the feature?

Ted

What business problem is this hoping to solve?

Cleaner, UserFriendly framework.

Estimates