Page 1 of 1

CSS - MVC - Table control issue

Posted: March 29th, 2022, 5:04 pm
by CameronDouthitt
There is an automatic table style from the bootstrap file that adds border-collapse:collapse; to all tables by default.

There are many instances when I put padding on a table control as styling. With the above default style is in affect, that padding is not applied. This forces me to apply a border-collapse:initial; style to any table control that I want to add padding to in order to override this default make the padding apply correctly.

Should consider not forcing this default?

Re: CSS - MVC - Table control issue

Posted: March 30th, 2022, 8:44 pm
by SteveCap
Currently the bootstrap files are included as remote files from https://www.jsdelivr.com/ so we do not have control over them. You can go to the site to download them all to then include them. There is task #9382 to add these to the template.

Alternatively to downloading all of bootstrap to change the table boarding you can just override it in one of your existing CSS files.