From 0a866a3e2ad479e7f130414b5d8a292957bf2a35 Mon Sep 17 00:00:00 2001 From: Jiro Ghianni Date: Thu, 22 Aug 2024 17:47:39 +0200 Subject: [PATCH] [#2665] Fix phone-parsing safari --- src/open_inwoner/scss/views/_view.scss | 9 +++++++++ src/open_inwoner/templates/pages/cases/list_inner.html | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/open_inwoner/scss/views/_view.scss b/src/open_inwoner/scss/views/_view.scss index 4f5af82fba..07ad9d7bae 100644 --- a/src/open_inwoner/scss/views/_view.scss +++ b/src/open_inwoner/scss/views/_view.scss @@ -62,4 +62,13 @@ display: inline; } } + + // Remove Safar phone-parsing from specific elements + .phone-parsing { + pointer-events: none; + } + .phone-parsing > a { + text-decoration: none; + color: inherit; + } } diff --git a/src/open_inwoner/templates/pages/cases/list_inner.html b/src/open_inwoner/templates/pages/cases/list_inner.html index 1db059c0aa..7874c0ea94 100644 --- a/src/open_inwoner/templates/pages/cases/list_inner.html +++ b/src/open_inwoner/templates/pages/cases/list_inner.html @@ -63,7 +63,7 @@

{{ case.naam }}

{# other aanvragen #} {% else %} -
+

{{ case.description }}

{# Meaningful sequence for accessibility: any text belonging to a heading must be below the heading #} @@ -78,7 +78,7 @@

{{ case.description }}

{% else %} {% list_item case.current_status caption=_("Status") compact=True strong=False %} {% endif %} - {% list_item case.identification caption=_("Zaaknummer") compact=True strong=False %} + ‍{% list_item case.identification caption=_("Zaaknummer") compact=True strong=False %} {% endrender_list %}