mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-10-15 03:32:11 +08:00
fix: watermark自定义container时样式优化
This commit is contained in:
parent
dcf189a2ba
commit
a0d787cf14
@ -88,7 +88,7 @@ export function createWatermark({
|
||||
let __wm = document.querySelector('.__wm');
|
||||
const watermarkDiv = __wm || document.createElement('div');
|
||||
const styleStr = `
|
||||
position: fixed;
|
||||
position: ${container === document.body ? 'fixed' : 'absolute'};
|
||||
user-select: none;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user