소스 검색

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

HelKim 4 년 전
부모
커밋
66fc1b7845
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/hooks/web/useWatermark.ts

+ 1 - 1
src/hooks/web/useWatermark.ts

@@ -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';