Browse Source

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

pull/323/head
HelKim 6 years ago
committed by GitHub
parent
commit
66fc1b7845
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/hooks/web/useWatermark.ts

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

Loading…
Cancel
Save