Skip to content

Commit

Permalink
Overwrite wrong dark-mode default color for toggle buttons in CSS rul…
Browse files Browse the repository at this point in the history
…es (#588)
  • Loading branch information
rhugonnet authored Jun 16, 2024
1 parent 06c7530 commit d1ec847
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/source/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* Work around to wrong dark-mode for toggle button: https://github.com/executablebooks/MyST-NB/issues/523 */
div.cell details.hide > summary {
background-color: var(--pst-color-surface);
}

div.cell details[open].above-input div.cell_input {
border-top: None;
}

0 comments on commit d1ec847

Please sign in to comment.