skin-dt-32 0.0.39 → 0.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/general.js +1 -1
  2. package/package.json +1 -1
package/general.js CHANGED
@@ -870,6 +870,6 @@ document.addEventListener('forumReady', () => {
870
870
  if (document.querySelector('#forum-navbar .top')) {
871
871
  const isImage = document.querySelector('#forum-navbar .top .user-avatar');
872
872
 
873
- document.querySelector('#forum-navbar .top').style.height = ((isImage ? 40 : 0) + document.querySelector('#forum-navbar .top span').clientHeight) + 'px';
873
+ document.querySelector('#forum-navbar .top').style.height = ((isImage ? 40 + parseInt(getComputedStyle(isImage.fontSize)) * 2 : 0) + document.querySelector('#forum-navbar .top span').clientHeight) + 'px';
874
874
  }
875
875
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skin-dt-32",
3
- "version": "0.0.39",
3
+ "version": "0.0.40",
4
4
  "main": "readme.md",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"