datatables icon indicating copy to clipboard operation
datatables copied to clipboard

Reduce `ThFilter` horizontal padding.

Open gibbz00 opened this issue 1 year ago • 2 comments

Hii,

Refraining from sending this in as a first PR as I suspect this isn't as straight forward as it sounds. SSD does nonetheless advertise itself as headless, so I would (personally) like it to add as little styling as possible. Same goes for the other Th*.

Amazing project btw :)

Before:

2024-06-27-185501_screenshot

With padding: 0 20px removed:

2024-06-27-185610_screenshot

gibbz00 avatar Jun 27 '24 17:06 gibbz00

Hi, Thanks for the question.

I'd recommand to craft your own components for cutomization requirements.

The components bring too much style opinion to provide a very large reusability. There are more like a starting point to make things work quickly (hello world).

At this point, any style modification would imply a breaking change for the lib.

vincjo avatar Jun 28 '24 09:06 vincjo

Maybe more ankowledged dev than me can help for component style in next 2.0. I already worked on to reduce code complexity and make it usable for both client and server-side data processing.

https://github.com/vincjo/datatables/tree/runes/src/lib/src/shared

I welcome proposals and pr for 2.0

vincjo avatar Jun 28 '24 10:06 vincjo