Commit 66fc1b78450fa7846b0d58e6da5f2135e6456238

Authored by HelKim
Committed by GitHub
1 parent c6f9b0da

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

Showing 1 changed file with 1 additions and 1 deletions
src/hooks/web/useWatermark.ts
@@ -33,7 +33,7 @@ export function useWatermark(appendEl: Ref<HTMLElement | null> = ref(document.bo @@ -33,7 +33,7 @@ export function useWatermark(appendEl: Ref<HTMLElement | null> = ref(document.bo
33 const div = document.createElement('div'); 33 const div = document.createElement('div');
34 div.id = id; 34 div.id = id;
35 div.style.pointerEvents = 'none'; 35 div.style.pointerEvents = 'none';
36 - div.style.top = '3px'; 36 + div.style.top = '0px';
37 div.style.left = '0px'; 37 div.style.left = '0px';
38 div.style.position = 'absolute'; 38 div.style.position = 'absolute';
39 div.style.zIndex = '100000'; 39 div.style.zIndex = '100000';