Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pages/overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1871,6 +1871,9 @@ article {
.nextra-toc {
background-color: colors.$darkbg;
// Remove all hardcoded white backgrounds and shadow filters
._shadow-\[0_12px_16px_rgb\(var\(\--nextra-bg\)\)\] {
box-shadow: unset;
}
Comment on lines +1874 to +1876
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is hacky but:

  • This is how it's solved for light mode
  • None of the other classes on the element are particular enough to make this less fragile.

.nextra-toc-footer {
background-color: colors.$darkbg;
box-shadow: unset;
Expand Down
Loading