Squash Odysseus development history

This commit is contained in:
pewdiepie-archdaemon
2026-09-11 06:04:19 +00:00
parent e5c99a5eee
commit 6ee6502010
2050 changed files with 538359 additions and 57745 deletions
@@ -0,0 +1,16 @@
from pathlib import Path
ROOT = Path(__file__).resolve().parent.parent
def test_sidebar_chat_list_uses_content_height_when_collapsed():
css = (ROOT / "static/style.css").read_text(encoding="utf-8")
desktop = css.split("#sessions-section #session-list {", 1)[1].split("}", 1)[0]
mobile = css.split("#sessions-section #session-list {", 2)[2].split("}", 1)[0]
assert "\n height: min(42vh, 420px);" not in desktop
assert "flex: 0 0 auto;" in desktop
assert "max-height: min(42vh, 420px);" in desktop
assert "\n height: min(34vh, 300px) !important;" not in mobile
assert "flex: 0 0 auto !important;" in mobile