From fc5947c7a33ecbd6e9b8b8fd331d72501274b7de Mon Sep 17 00:00:00 2001 From: mirceapiturca Date: Fri, 1 Mar 2019 18:51:19 +0200 Subject: [PATCH] Safari focus bug fix --- Tooltips/sections/tooltips.liquid | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tooltips/sections/tooltips.liquid b/Tooltips/sections/tooltips.liquid index 0ea4830..e0d96f2 100644 --- a/Tooltips/sections/tooltips.liquid +++ b/Tooltips/sections/tooltips.liquid @@ -66,8 +66,9 @@ display: none; } - {{ section_selector }} .tooltip-button:focus .tooltip-index { - box-shadow: 0 0 0 0.16rem {{ section.settings.tooltip_focus_color }}; + {{ section_selector }} .tooltip-button:focus .tooltip-index, + {{ section_selector }} .tooltip-button[aria-expanded="true"] .tooltip-index { + box-shadow: 0 0 0 2px {{ section.settings.tooltip_focus_color }}; } {{ section_selector }} .tooltip-index {