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 and adityarauniyar committed Jan 17, 2024
1 parent 59ee47a commit dcc82ad
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 dcc82ad

Please sign in to comment.