Tryinna style Phlex::Table components. Anyone got a way that works? #305
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. |
Beta Was this translation helpful? Give feedback.
-
Hey @dhnaranjo, |
Beta Was this translation helpful? Give feedback.
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::Table
and 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
super
on 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.
Beta Was this translation helpful? Give feedback.
All reactions