style: nametag 大区块整体居中
This commit is contained in:
1 parent
3df00d0def
commit
a8d6ee439b
2 files changed
+2
-2
No files matched your search
@@ -140,7 +140,6 @@
|
||||
gapX: 1,
|
||||
gapY: 1,
|
||||
padding: 1,
|
||||
left: 2,
|
||||
top: 12,
|
||||
};
|
||||
|
||||
@@ -151,7 +150,6 @@
|
||||
|
||||
const block = document.createElement('div');
|
||||
block.className = 'nametag-block';
|
||||
block.style.left = `${TAG.left}em`;
|
||||
block.style.top = `${TAG.top}em`;
|
||||
block.style.width = `${blockWidth}em`;
|
||||
block.style.height = `${blockHeight}em`;
|
||||
|
||||
Reference in new issue
Block a user