diff --git a/src/puter-js/test/run.html b/src/puter-js/test/run.html index beca0a181..dd0b9cf00 100644 --- a/src/puter-js/test/run.html +++ b/src/puter-js/test/run.html @@ -92,6 +92,33 @@ .test-run-button:disabled:hover { background-color: #999; } + + /* Make h2 headers sticky */ + #tests h2 { + position: sticky; + top: 78px; /* Position below the fixed nav */ + background-color: white; + padding: 20px 0; + margin: 20px 0 10px 0; + border-bottom: 2px solid #ddd; + z-index: 10; + font-size: 18px; + font-weight: bold; + } + + /* Style for h2 checkboxes */ + #tests h2 input[type="checkbox"] { + margin-right: 10px; + transform: scale(1.2); + } + + #tests h2 label { + cursor: pointer; + display: flex; + align-items: center; + padding-left: 10px; + font-size: 25px; + }