Skip to content

Table styling: how to un-extend bootstrap's .table in table{} #1107

Answered by h-enk
pensivedog asked this question in Support
Discussion options

You must be logged in to vote

Copy node_modules/@hyas/doks-core/assets/scss/app.scss to themes/my-doks-theme/assets/scss/app.scss and comment out @import "components/tables":

..

// 8. Add additional custom code here
@import "common/fonts";
@import "common/global";
@import "common/syntax";
@import "common/dark";
@import "components/alerts";
@import "components/buttons";
@import "components/callouts";
@import "components/code";
@import "components/comments";
@import "components/details";
@import "components/forms";
@import "components/images";
@import "components/mermaid";
@import "components/modals";
@import "components/search";
// @import "components/tables";
@import "components/tabs";

..

If needed, add custom table…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pensivedog
Comment options

Answer selected by pensivedog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants