From 1f1f03ee4ee24942c17f36eecba8d7b0ea41534e Mon Sep 17 00:00:00 2001 From: zombieFox Date: Sun, 16 Jun 2019 15:04:24 +0100 Subject: [PATCH] [bug] fix link on hover z index --- css/link.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/css/link.css b/css/link.css index 55194b1b..ce0206fe 100755 --- a/css/link.css +++ b/css/link.css @@ -49,12 +49,17 @@ z-index: 1; } +.link-item:focus-within, +.link-item:focus, +.link-item:hover { + z-index: 2; + outline: 0; +} + .is-link-item-hover-scale .link-item:focus-within, .is-link-item-hover-scale .link-item:focus, .is-link-item-hover-scale .link-item:hover { transform: scale(1.05); - z-index: 2; - outline: 0; } .is-link-item-hover-scale .link-item:active {