From 14a6d54b05996254be7063f03b68db8a245d2937 Mon Sep 17 00:00:00 2001 From: Felix Eckhofer <felix@eckhofer.com> Date: Wed, 1 Jan 2025 16:36:16 +0100 Subject: [PATCH] Ensure flash is visible even if nav is position:fixed --- app/views/shared/_flash.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/shared/_flash.html.erb b/app/views/shared/_flash.html.erb index 143f14f..aff4cb5 100644 --- a/app/views/shared/_flash.html.erb +++ b/app/views/shared/_flash.html.erb @@ -1,4 +1,4 @@ -<div id="flash"> +<div id="flash" class="relative top-0.5 md:top-16"> <% flash.each do |type, message| %> <div class="flash alert alert-<%= type %>"> <%= message %> @@ -7,4 +7,4 @@ </button> </div> <% end %> -</div> \ No newline at end of file +</div> -- GitLab