From 681adbe0cf474ac91005f35026fc79d537967e99 Mon Sep 17 00:00:00 2001 From: Yueyu Date: Tue, 10 Nov 2020 13:37:35 +0800 Subject: [PATCH] add max-width and max-height properties for watermark image --- editions/free/src/css/editor.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/editions/free/src/css/editor.css b/editions/free/src/css/editor.css index f8318c0..40247aa 100755 --- a/editions/free/src/css/editor.css +++ b/editions/free/src/css/editor.css @@ -453,6 +453,11 @@ z-index: 5; height: ${css_vh(18.88)}; } +.watermark img{ + max-width: 100%; + max-height: 100%; +} + .watermark > canvas{ position: absolute; }