From ea7d60dd72bf54f100669d83dadb7f98be351396 Mon Sep 17 00:00:00 2001 From: Danila Gorelko Date: Wed, 14 Aug 2024 14:10:03 +0300 Subject: [PATCH] Trick safari to not recognise any "name" in the input field (#254) Safari looks at id and placeholder in order to enable contacts autocomplete. Fixes: #253 --- categories/view_card.html | 4 ++-- static/default.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/categories/view_card.html b/categories/view_card.html index f2ea7c8..3262154 100644 --- a/categories/view_card.html +++ b/categories/view_card.html @@ -22,8 +22,8 @@ {{if .GivenPermissionToModify}}
  • - + diff --git a/static/default.css b/static/default.css index 10237df..f13975f 100644 --- a/static/default.css +++ b/static/default.css @@ -271,7 +271,7 @@ mark { background: rgba(130, 80, 30, 5); color: inherit; } border: none; background: none; } -.categories-card #_cat-name { +.categories-card #_cat-input { width: 100%; margin: 0; padding: 0 .5rem;