Styling with tailwind and expanding click area #4869
m-abdurrehman
started this conversation in
Show and tell
Replies: 0 comments
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.
-
Tailwind is being used in my app and payg gem(https://github.com/ddnexus/pagy) is being for pagination purposes.
I followed https://ddnexus.github.io/pagy/extras/tailwind#gsc.tab=0 to apply styling to my view to match looking the same as of my site.
Applied styling is something like
Showing as
I try to make the complete box clickable by apply padding on the
span
andanchor
tag but not working as expected.HTML generated for the above template is
Note: This template is generated by pagy helper method, I don't feel the need to customize the default template.
Anybody with a solution/suggestion for this?
A demo application to play around is available here - https://github.com/benkoshy/pagy-rails/tree/tailwind
I also open an issue on pagy gem repo - ddnexus/pagy#320
Beta Was this translation helpful? Give feedback.
All reactions