From 5c667f1c5e5f5275efc85ff5de72c8a928bc4b4b Mon Sep 17 00:00:00 2001 From: splincode Date: Sun, 18 Aug 2024 23:27:19 +0300 Subject: [PATCH] fix(addon-doc): strange behavior on safari --- projects/addon-doc/components/code/index.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/addon-doc/components/code/index.less b/projects/addon-doc/components/code/index.less index 10a01e45c55c..25278f907585 100644 --- a/projects/addon-doc/components/code/index.less +++ b/projects/addon-doc/components/code/index.less @@ -29,11 +29,11 @@ td { white-space: pre; - } - tr:hover { - outline: 1px solid var(--tui-border-normal); - border-radius: 0.25rem; + &:not(.hljs-ln-numbers):hover { + outline: 1px solid var(--tui-border-normal); + border-radius: 0.25rem; + } } } }