fix(watermark): watermark causes a blank bar (#297)

This commit is contained in:
HelKim 2021-02-24 06:25:44 -06:00 committed by GitHub
parent c6f9b0da7e
commit 66fc1b7845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ export function useWatermark(appendEl: Ref<HTMLElement | null> = ref(document.bo
const div = document.createElement('div');
div.id = id;
div.style.pointerEvents = 'none';
div.style.top = '3px';
div.style.top = '0px';
div.style.left = '0px';
div.style.position = 'absolute';
div.style.zIndex = '100000';