@@ -302,11 +302,11 @@ def test_sticky_basic(styler, index, columns, index_name):
302
302
styler .set_sticky (axis = 1 )
303
303
304
304
left_css = (
305
- "#T_ {0} {{\n position: sticky;\n background-color: white ;\n "
305
+ "#T_ {0} {{\n position: sticky;\n background-color: inherit ;\n "
306
306
" left: 0px;\n z-index: {1};\n }}"
307
307
)
308
308
top_css = (
309
- "#T_ {0} {{\n position: sticky;\n background-color: white ;\n "
309
+ "#T_ {0} {{\n position: sticky;\n background-color: inherit ;\n "
310
310
" top: {1}px;\n z-index: {2};\n {3}}}"
311
311
)
312
312
@@ -338,11 +338,11 @@ def test_sticky_mi(styler_mi, index, columns):
338
338
styler_mi .set_sticky (axis = 1 )
339
339
340
340
left_css = (
341
- "#T_ {0} {{\n position: sticky;\n background-color: white ;\n "
341
+ "#T_ {0} {{\n position: sticky;\n background-color: inherit ;\n "
342
342
" left: {1}px;\n min-width: 75px;\n max-width: 75px;\n z-index: {2};\n }}"
343
343
)
344
344
top_css = (
345
- "#T_ {0} {{\n position: sticky;\n background-color: white ;\n "
345
+ "#T_ {0} {{\n position: sticky;\n background-color: inherit ;\n "
346
346
" top: {1}px;\n height: 25px;\n z-index: {2};\n }}"
347
347
)
348
348
@@ -374,11 +374,11 @@ def test_sticky_levels(styler_mi, index, columns, levels):
374
374
styler_mi .set_sticky (axis = 1 , levels = levels )
375
375
376
376
left_css = (
377
- "#T_ {0} {{\n position: sticky;\n background-color: white ;\n "
377
+ "#T_ {0} {{\n position: sticky;\n background-color: inherit ;\n "
378
378
" left: {1}px;\n min-width: 75px;\n max-width: 75px;\n z-index: {2};\n }}"
379
379
)
380
380
top_css = (
381
- "#T_ {0} {{\n position: sticky;\n background-color: white ;\n "
381
+ "#T_ {0} {{\n position: sticky;\n background-color: inherit ;\n "
382
382
" top: {1}px;\n height: 25px;\n z-index: {2};\n }}"
383
383
)
384
384
0 commit comments