Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fthfoot > visible (padded) with Bootstrap 5.3.X #481

Open
marcreig opened this issue Jan 22, 2024 · 0 comments
Open

fthfoot > visible (padded) with Bootstrap 5.3.X #481

marcreig opened this issue Jan 22, 2024 · 0 comments

Comments

@marcreig
Copy link

Hi,

discovered this plugin just today. Been trying to do something similar through thead clonation via jQuery and achieved something interesting, but this is the absolute solution!
Even being compatible with Bootstrap's table responsiveness container! So no need to reinvent the wheel! And don't get fooled: "position: sticky" on TH is NOT the solution at all. Too messy...

So, just have seen that (and I guess that it was not on Bootstrap 3.X) the self appended fthfoot element, beings visible on bootstrap tables. As it gets padded from multiples CSS rules on it.
Visibility: hidden colud be replaced by "collapse", but I'm not sure if this breaks something on plugin's behaviour.

FSURXW2

So I've gone thorugh a simple:

fthfoot, fthfoot>*, fthfoot>*>*{ padding: 0px!important; margin: 0px!important; }

Works like charm.
Hope someone can tell if it's the right path to go, or maybe any other solution should be more appropiate.

Thanks and regards,

MR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant