Skip to content

Commit

Permalink
Fixing bootstrap dark-table top border (alshedivat#1763)
Browse files Browse the repository at this point in the history
This addresses alshedivat#1425.

Contributions:
- Added border attribute to `.table-dark` within `_base.scss` to
override bootstrap theme border settings for `.tabled-bordered`.
Displays top border in dark mode for only those tables that are bordered
  • Loading branch information
lancewilhelm authored Sep 28, 2023
1 parent 84e8269 commit 18d18dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ table.table a {

.table-dark {
background-color: transparent;
&.table-bordered{
border: 1px solid var(--global-divider-color) !important;
}
}

figure,
Expand Down

0 comments on commit 18d18dd

Please sign in to comment.