about summary refs log tree commit diff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-06-10 17:34:59 +0200
committerGitHub <noreply@github.com>2022-06-10 17:34:59 +0200
commit37cd984acfdd206e85c50a851c4daedc2c87deb3 (patch)
tree5ee839894f68f5d77c29616a912a88191cc7020f /app/views/layouts
parent45aa5781ce611ea411e34e3b18358a9fe15f67ce (diff)
Fix logo gradient not working on some Safari and Blink-based browsers (#18634)
Works around https://bugs.chromium.org/p/chromium/issues/detail?id=258029
Diffstat (limited to 'app/views/layouts')
-rwxr-xr-xapp/views/layouts/application.html.haml2
-rw-r--r--app/views/layouts/embedded.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 1501c2b97..25fd5bc34 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -43,6 +43,6 @@
   %body{ class: body_classes }
     = content_for?(:content) ? yield(:content) : yield
 
-    .logo-resources
+    .logo-resources{ 'tabindex' => '-1', 'inert' => true, 'aria-hidden' => true }
       = render_symbol :icon
       = render_symbol :wordmark
diff --git a/app/views/layouts/embedded.html.haml b/app/views/layouts/embedded.html.haml
index 6c6730ef2..e74bff9cc 100644
--- a/app/views/layouts/embedded.html.haml
+++ b/app/views/layouts/embedded.html.haml
@@ -20,5 +20,5 @@
   %body.embed
     = yield
 
-    .logo-resources
+    .logo-resources{ 'tabindex' => '-1', 'inert' => true, 'aria-hidden' => true }
       = render_symbol :icon