You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
First of all thank you for your work, I will use this library in my next pet project.
However, I noticed that there is no easy way to change wrapper classes for pagination_links. For example, the templates for Bulma CSS are centered "by default", which means the classes are hard-coded in private functions. I ended up rewriting the functions like this:
Do you think it would be possible to add options to change wrapper classes for each separate element? Or maybe add a simple API that one could use to define own renderer modules, a bit like HTTPoison.Base?
Technically, I'm still a newbie, but I'm open to implement and open a PR if you point me in the right direction.
Regards,
KM
The text was updated successfully, but these errors were encountered:
I was unaware that it automatically made the links centered. The best workaround for now seems it would be to override it with CSS, however thats not ideal.
Would allowing an override to classes work? I don't think I have time for something like that, but I'd be willing to accept a PR if you did.
Hi there,
First of all thank you for your work, I will use this library in my next pet project.
However, I noticed that there is no easy way to change wrapper classes for pagination_links. For example, the templates for Bulma CSS are centered "by default", which means the classes are hard-coded in private functions. I ended up rewriting the functions like this:
Do you think it would be possible to add options to change wrapper classes for each separate element? Or maybe add a simple API that one could use to define own renderer modules, a bit like
HTTPoison.Base
?Technically, I'm still a newbie, but I'm open to implement and open a PR if you point me in the right direction.
Regards,
KM
The text was updated successfully, but these errors were encountered: