From c731d72a67781d6d72f3f369a9705b58011c98d8 Mon Sep 17 00:00:00 2001 From: Marwin Hochfelsner <50826859+hlfan@users.noreply.github.com> Date: Fri, 9 May 2025 21:32:53 +0200 Subject: [PATCH] Style link like a underpadded button Co-authored-by: Anton Khorev --- app/views/site/_add_a_note.html.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/site/_add_a_note.html.erb b/app/views/site/_add_a_note.html.erb index 045c40cd9..f545234e4 100644 --- a/app/views/site/_add_a_note.html.erb +++ b/app/views/site/_add_a_note.html.erb @@ -1,7 +1,8 @@

<%= t ".para_1" %>

<%= t ".para_2_html", - :note_icon => (link_to new_note_path(:anchor => map_hash(params)), :title => t("javascripts.site.createnote_tooltip") do - tag.svg :width => 20, :height => 20, :class => "align-top" do + :note_icon => (link_to new_note_path(:anchor => map_hash(params)), :title => t("javascripts.site.createnote_tooltip"), + :class => "d-inline-block rounded-1 text-white bg-black bg-opacity-75 border border-2 my-n1 align-text-bottom" do + tag.svg :width => 20, :height => 20, :class => "d-block" do render :partial => "layouts/control_icons", :locals => { :icons => %w[note] } end end), -- 2.39.5