From b0498c778f5caeef291c1a5b0704b1ff9e67cd3e Mon Sep 17 00:00:00 2001 From: ocean-gao Date: Fri, 22 Apr 2022 14:31:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20watermark=E6=94=AF=E6=8C=81container?= =?UTF-8?q?=E6=97=B6=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fes-plugin-watermark/src/runtime/core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/fes-plugin-watermark/src/runtime/core.js b/packages/fes-plugin-watermark/src/runtime/core.js index 2cf0472d..fb3a3460 100644 --- a/packages/fes-plugin-watermark/src/runtime/core.js +++ b/packages/fes-plugin-watermark/src/runtime/core.js @@ -92,8 +92,8 @@ export function createWatermark({ user-select: none; top: 0; left: 0; - width: 100vw; - height: 100vh; + width: 100%; + height: 100%; z-index: ${zIndex}; pointer-events: none !important; background-repeat: repeat;