Skip to content
23 changes: 23 additions & 0 deletions scripts/build_benchmark_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,29 @@ def _report_css() -> str:
color: #5e6f76;
margin-bottom: 0;
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}

@media print {
* {
-webkit-print-color-adjust: exact !important;
print-color-adjust: exact !important;
}
body {
background: #ffffff;
}
.report-section,
.metric-card,
.table-wrap {
break-inside: avoid;
}
}
"""


Expand Down
Loading