From fd31f33e19db5eb0ef4239e7232c8eb0aeb2c644 Mon Sep 17 00:00:00 2001 From: Albert Yu Date: Wed, 8 Jan 2025 15:11:09 +0800 Subject: [PATCH] Show icon for touch devices --- docs/src/components/HeadingLink.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/src/components/HeadingLink.css b/docs/src/components/HeadingLink.css index 2480ecbebe..c7ad4d9548 100644 --- a/docs/src/components/HeadingLink.css +++ b/docs/src/components/HeadingLink.css @@ -5,8 +5,10 @@ border-radius: var(--radius-sm); } - & svg { - visibility: hidden; + @media (pointer: fine) { + & svg { + visibility: hidden; + } } @media (hover: hover) {