From 8a3607860ef426590415b3ca0d2e9d2979cf930c Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sun, 12 Nov 2023 10:17:06 +0300 Subject: [PATCH] Set banner close button background/opacity with Bootstrap --- app/assets/stylesheets/common.scss | 5 ----- app/views/layouts/_banner.html.erb | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 40392cdae..023dcdca7 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -446,11 +446,6 @@ body.small-nav { display: block; width: $sidebarWidth; } - - button.btn-close { - background-color: rgba(255, 255, 255, 0.5); - opacity: 1.0; - } } #map { diff --git a/app/views/layouts/_banner.html.erb b/app/views/layouts/_banner.html.erb index bbd9e22e2..f6b866ff9 100644 --- a/app/views/layouts/_banner.html.erb +++ b/app/views/layouts/_banner.html.erb @@ -2,7 +2,7 @@ <%= tag.div :id => "banner", :data => { :bs_theme => token_list(:dark => banner[:dark]) } do %> <%= link_to (image_tag banner[:img], :srcset => banner[:srcset], :alt => banner[:alt], :title => banner[:alt]), banner[:link] %> <% end %> -- 2.39.5