From 99ea4a63e09cc7511ecf2a6f4d88aecdf08c984f Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Mon, 11 Sep 2023 15:29:09 +0200 Subject: [PATCH] No need to have a button: not conflicting with button styles --- .../templates/shared/question_mark_with_tooltip_icon.html.haml | 2 +- app/webpacker/css/shared/question-mark-icon.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/templates/shared/question_mark_with_tooltip_icon.html.haml b/app/assets/javascripts/templates/shared/question_mark_with_tooltip_icon.html.haml index 18ea4c771d..72dafdcc59 100644 --- a/app/assets/javascripts/templates/shared/question_mark_with_tooltip_icon.html.haml +++ b/app/assets/javascripts/templates/shared/question_mark_with_tooltip_icon.html.haml @@ -1 +1 @@ -%button.question-mark-icon{"ng-class" => "{open: tt_isOpen}", type: 'button'} +.question-mark-icon{"ng-class" => "{open: tt_isOpen}", type: 'button'} diff --git a/app/webpacker/css/shared/question-mark-icon.scss b/app/webpacker/css/shared/question-mark-icon.scss index c468d93b1a..e8720d207c 100644 --- a/app/webpacker/css/shared/question-mark-icon.scss +++ b/app/webpacker/css/shared/question-mark-icon.scss @@ -10,6 +10,7 @@ background-size: cover; background-repeat: no-repeat; border-radius: 50%; + cursor: pointer; // Reset button element css attributes padding: 0;