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
+11
View File
@@ -0,0 +1,11 @@
from pathlib import Path
STYLE = Path(__file__).resolve().parents[1] / "static" / "style.css"
def test_mobile_sidebar_uses_the_sidebar_theme_surface():
css = STYLE.read_text()
mobile_drawer = css[css.index("/* Sidebar overlays chat on mobile */"):css.index("/* Backdrop behind sidebar */")]
assert "background: var(--sidebar-bg, var(--panel)) !important;" in mobile_drawer
assert "background: var(--panel) !important;" not in mobile_drawer