Tryinna style Phlex::Table components. Anyone got a way that works? #305
dhnaranjo
started this conversation in
Component architecture
Replies: 2 comments 1 reply
|
I'm a little surprised your table method would work like that but in general, the convention that Phlex has established is passing blocks. I would recommend you change your table to work the same way and save yourself some potential future frustration. |
0 replies
|
Hey @dhnaranjo, |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm using
Phlex::Tableand it's getting the job done pretty well right up until I want to get styling. I'm Tailwind'n so I gotta hit up individual elements. Here's how I'm trying to accomplish that:It's just kinda not obvious why I can use
superon table but not on head or thead.Edit: I landed at where I needed to be like this:
Which is not like... awful, but it is a bit non-obvious.
All reactions