diff --git a/app/packs/stylesheets/decidim/global_adjustments.scss b/app/packs/stylesheets/decidim/global_adjustments.scss index 24a808a931..1dea57ed7c 100644 --- a/app/packs/stylesheets/decidim/global_adjustments.scss +++ b/app/packs/stylesheets/decidim/global_adjustments.scss @@ -19,4 +19,11 @@ .main-bar__links-desktop__item-wrapper div:has(a[aria-label="Activité"]) { display: none; +} + +#dc-dialog-wrapper.cookies__container, +#dc-modal, +a[data-dialog-open="dc-modal"], +li:has(a[data-dialog-open="dc-modal"]) { + display: none !important; } \ No newline at end of file diff --git a/spec/system/mobile_header_spec.rb b/spec/system/mobile_header_spec.rb index b78488114f..25361b224c 100644 --- a/spec/system/mobile_header_spec.rb +++ b/spec/system/mobile_header_spec.rb @@ -26,7 +26,6 @@ driven_by(:iphone) switch_to_host(organization.host) visit decidim.root_path - click_on(id: "dc-dialog-accept") end it "has a sticky header" do @@ -79,7 +78,6 @@ switch_to_host(organization.host) login_as user, scope: :user visit decidim.root_path - click_on(id: "dc-dialog-accept") end it "displays an avatar on the header" do