diff --git a/backend/tests/test_sprint212_platform_source_portfolio.py b/backend/tests/test_sprint212_platform_source_portfolio.py index 5a7f689e..bfb27be1 100644 --- a/backend/tests/test_sprint212_platform_source_portfolio.py +++ b/backend/tests/test_sprint212_platform_source_portfolio.py @@ -42,7 +42,8 @@ def test_source_inventory_is_compact_honest_and_domain_driven() -> None: assert "Meetbaar als:" in catalog assert "source-domain-grid" in styles assert "source-opportunity-domain" in styles - assert ".source-catalog-panel .panel-title-row" in styles + assert "section.source-catalog-panel > .panel-title-row" in styles + assert "display: grid !important" in styles assert "justify-self: start" in styles diff --git a/frontend/src/styles/app.css b/frontend/src/styles/app.css index 26855356..91fffe11 100644 --- a/frontend/src/styles/app.css +++ b/frontend/src/styles/app.css @@ -6926,12 +6926,12 @@ section { } @media (max-width: 640px) { - .source-catalog-panel .panel-title-row { - display: grid; + section.source-catalog-panel > .panel-title-row { + display: grid !important; gap: 0.6rem; } - .source-catalog-panel .panel-title-row .status-badge { + section.source-catalog-panel > .panel-title-row .status-badge { justify-self: start; }