From a4aeb25637fb0d262c8c82f6baf63f70c165e8e3 Mon Sep 17 00:00:00 2001 From: ikkz Date: Thu, 26 Sep 2024 06:20:50 +0000 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E6=AE=B5=E8=90=BD?= =?UTF-8?q?=20hover=20=E5=8C=BA=E5=9F=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/lib/style.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/frontend/lib/style.css b/frontend/lib/style.css index 4670bf8a..16992d76 100644 --- a/frontend/lib/style.css +++ b/frontend/lib/style.css @@ -78,6 +78,19 @@ cursor: pointer; } +[data-review-enabled] { + position: relative; + &::after { + content: ""; + position: absolute; + top: 30px; + left: 100%; + width: 30px; + height: calc(100% - 30px); + clip-path: polygon(0 0, 0 100%, 100% 0); + } +} + *:has(> .review-context-menu) { position: relative; }