fix(watermark): watermark causes a blank bar (#297)
This commit is contained in:
parent
c6f9b0da7e
commit
66fc1b7845
|
|
@ -33,7 +33,7 @@ export function useWatermark(appendEl: Ref<HTMLElement | null> = ref(document.bo
|
||||||
const div = document.createElement('div');
|
const div = document.createElement('div');
|
||||||
div.id = id;
|
div.id = id;
|
||||||
div.style.pointerEvents = 'none';
|
div.style.pointerEvents = 'none';
|
||||||
div.style.top = '3px';
|
div.style.top = '0px';
|
||||||
div.style.left = '0px';
|
div.style.left = '0px';
|
||||||
div.style.position = 'absolute';
|
div.style.position = 'absolute';
|
||||||
div.style.zIndex = '100000';
|
div.style.zIndex = '100000';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue