From 73f7f7339672a88b5b6e677f6bef3cee9b663f1b Mon Sep 17 00:00:00 2001 From: ilkin-overleaf <100852799+ilkin-overleaf@users.noreply.github.com> Date: Mon, 28 Oct 2024 15:25:31 +0200 Subject: [PATCH] Merge pull request #21428 from overleaf/ii-bs5-clear-search-button [web] BS5 fix pointer-events style on form control icons GitOrigin-RevId: 47a3da0333ca53ea1925d550fcf95dc730a5cb3b --- .../web/frontend/stylesheets/bootstrap-5/components/form.scss | 1 - .../frontend/stylesheets/bootstrap-5/components/select.scss | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/services/web/frontend/stylesheets/bootstrap-5/components/form.scss b/services/web/frontend/stylesheets/bootstrap-5/components/form.scss index 0a8538eab6..474197db10 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/components/form.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/components/form.scss @@ -143,7 +143,6 @@ display: flex; align-items: center; font-size: 0; - pointer-events: none; } .form-control-start-icon { diff --git a/services/web/frontend/stylesheets/bootstrap-5/components/select.scss b/services/web/frontend/stylesheets/bootstrap-5/components/select.scss index 939397bc86..b85040a02c 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/components/select.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/components/select.scss @@ -4,6 +4,10 @@ .select-trigger { cursor: default; + + & + .form-control-end-icon { + pointer-events: none; + } } .select-highlighted {