diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b17c61f..ae4e004 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,6 +40,7 @@ jobs: working-directory: packages/fri-forecaster - run: pip install -e '.[test]' -e './packages/fri-forecaster[dev]' - run: python -m pytest -q -rs + - run: node --test tests/test_tooltips.cjs # README promises that `build` and `assemble` round-trip to the tracked # bytes. Rebuild everything on a fresh checkout and fail if anything tracked diff --git a/index.html b/index.html index 81418a4..f04133b 100644 --- a/index.html +++ b/index.html @@ -115,9 +115,15 @@ @media (max-width: 760px) { .rail-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } } .modal-grid { display: grid; grid-template-columns: 180px 1fr; gap: 12px; } @media (max-width: 560px) { .modal-grid { grid-template-columns: 1fr; gap: 4px; } } + .tippy-box[data-theme~="airo"] { + background: var(--panel); color: var(--ink); border: 1px solid var(--line); + border-radius: 8px; box-shadow: var(--shadow); font-family: inherit; + font-size: 12px; line-height: 1.5; + } + .tippy-box[data-theme~="airo"] > .tippy-content { padding: 8px 10px; } + .tippy-box[data-theme~="airo"] > .tippy-arrow { color: var(--panel); } -