Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [#2665] Fix phone-parsing safari #1369

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/open_inwoner/scss/views/_view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,13 @@
display: inline;
}
}

// Remove Safar phone-parsing from specific elements
.phone-parsing {
pointer-events: none;
}
.phone-parsing > a {
text-decoration: none;
color: inherit;
}
}
4 changes: 2 additions & 2 deletions src/open_inwoner/templates/pages/cases/list_inner.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h2 class="card__heading-2">{{ case.naam }}</h2>
<!-- other cases -->
{% else %}
<a href="{% url 'cases:case_detail' api_group_id=case.api_group.id object_id=case.uuid %}" class="card card card__description-card card--stretch">
<div class="card__body">
<div class="card__body phone-parsing">

<h2 class="card__heading-2">{{ case.description }}</h2>
{# Meaningful sequence for accessibility: any text belonging to a heading must be below the heading #}
Expand All @@ -66,7 +66,7 @@ <h2 class="card__heading-2">{{ case.description }}</h2>
{% else %}
{% list_item "No status" caption=_("Status") compact=True strong=False %}
{% endif %}
{% list_item case.identification caption=_("Zaaknummer") compact=True strong=False %}
&zwj;{% list_item case.identification caption=_("Zaaknummer") compact=True strong=False %}
{% endrender_list %}

<span class="link link--icon link--secondary">
Expand Down
Loading