CSS - MVC - Table control issue

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
CameronDouthitt
Posts: 15
Joined: February 10th, 2022, 10:16 am
Contact:

CSS - MVC - Table control issue

Unread post 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?
word count: 85
SteveCap
Posts: 329
Joined: August 26th, 2021, 9:18 am
Contact:

Re: CSS - MVC - Table control issue

Unread post 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.
word count: 69
Post Reply