File tree 1 file changed +15
-5
lines changed
src/pydata_sphinx_theme/assets/scripts
1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -524,7 +524,9 @@ function showVersionWarningBanner(data) {
524
524
const timeout_in_days = 14 ;
525
525
if ( days_passed < timeout_in_days ) {
526
526
console . info (
527
- `[PST] Suppressing version warning banner; was dismissed ${ Math . floor ( days_passed ) } day(s) ago` ,
527
+ `[PST] Suppressing version warning banner; was dismissed ${ Math . floor (
528
+ days_passed ,
529
+ ) } day(s) ago`,
528
530
) ;
529
531
return ;
530
532
}
@@ -727,10 +729,18 @@ function addTabStopsToScrollableElements() {
727
729
const updateTabStops = ( ) => {
728
730
document
729
731
. querySelectorAll (
730
- "pre, " + // code blocks
731
- ".nboutput > .output_area, " + // NBSphinx notebook output
732
- ".cell_output > .output, " + // Myst-NB
733
- ".jp-RenderedHTMLCommon" , // ipywidgets
732
+ [
733
+ // code blocks
734
+ "pre" ,
735
+ // NBSphinx notebook output
736
+ ".nboutput > .output_area" ,
737
+ // Myst-NB
738
+ ".cell_output > .output" ,
739
+ // ipywidgets
740
+ ".jp-RenderedHTMLCommon" ,
741
+ // [rST table nodes](https://www.docutils.org/docs/ref/doctree.html#table)
742
+ ".pst-scrollable-table-container" ,
743
+ ] . join ( ", " ) ,
734
744
)
735
745
. forEach ( ( el ) => {
736
746
el . tabIndex =
You can’t perform that action at this time.
0 commit comments