From 39b8f9f00140cc3f4a60c9e1ffb0c142de5ea089 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Thu, 27 Aug 2026 21:42:55 +0530 Subject: [PATCH] fix(theme): cover the external link icon's paint box with its mask The icon is a masked background on an inline box whose height follows font metrics per engine. The fixed centered mask left an unmasked sliver of the background visible below the arrow on iOS. A full-size mask can only stretch the arrow slightly, never leak. Co-Authored-By: Claude Fable 5 --- src/client/theme-default/styles/components/vp-doc.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/theme-default/styles/components/vp-doc.css b/src/client/theme-default/styles/components/vp-doc.css index e912c4a3..a1d85d90 100644 --- a/src/client/theme-default/styles/components/vp-doc.css +++ b/src/client/theme-default/styles/components/vp-doc.css @@ -605,8 +605,8 @@ mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; - -webkit-mask-size: 0.6875rem 0.6875rem; - mask-size: 0.6875rem 0.6875rem; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; /*rtl:raw:transform: scaleX(-1);*/ vertical-align: middle; font-size: 0.5625rem;