From c5a036719672109bec0bfc6f8d92a93cfe79f47e Mon Sep 17 00:00:00 2001 From: Arie Date: Fri, 28 Aug 2020 20:48:46 +0200 Subject: [PATCH] Make the copy button more obviously a button --- app/views/shared/_copy_button.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/shared/_copy_button.html.haml b/app/views/shared/_copy_button.html.haml index 7339641e..768fb69f 100644 --- a/app/views/shared/_copy_button.html.haml +++ b/app/views/shared/_copy_button.html.haml @@ -1,5 +1,6 @@ .clip_container.clipboard-btn{:id => "#{copy_button_id}_container", :data => { :"clipboard-text" => copy_text } } .clip_button{:id => copy_button_id, :title => "Copy to clipboard"} - %i.fa.fa-copy{:id => "#{copy_button_id}_icon"}> + %btn.btn-sm.btn-secondary{id: "#{copy_button_id}_icon"} + %i.fa.fa-copy :javascript new Clipboard("##{copy_button_id}_container");