Skip to content

Commit 66fc1b7

Browse files
authoredFeb 24, 2021
fix(watermark): watermark causes a blank bar (#297)
1 parent c6f9b0d commit 66fc1b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/hooks/web/useWatermark.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function useWatermark(appendEl: Ref<HTMLElement | null> = ref(document.bo
3333
const div = document.createElement('div');
3434
div.id = id;
3535
div.style.pointerEvents = 'none';
36-
div.style.top = '3px';
36+
div.style.top = '0px';
3737
div.style.left = '0px';
3838
div.style.position = 'absolute';
3939
div.style.zIndex = '100000';

0 commit comments

Comments
 (0)
Please sign in to comment.