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 committed Sep 28, 2023
1 parent be4be01 commit b663e9e
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 b663e9e

Please sign in to comment.