theme-next / hexo-theme-next

Elegant and powerful theme for Hexo.
https://theme-next.org
Other
8.17k stars 2.05k forks source link

Extra space occurred in .site-title while moving the cursor onto it #1629

Closed Eyxxxxx closed 3 years ago

Eyxxxxx commented 3 years ago

Please follow this Issue template to provide relevant information, such as source code repositories, blog links, and screenshots, which will help us investigate. 请按照此 Issue 模版提供相关信息,例如源码仓库、博客链接和屏幕截图,这将有助于我们进行调查。

Issue Checklist


Expected behavior

No EXTRA space occurred in .site-title while moving the cursor onto it This is an example without such problem.

Actual behavior

As shown in the following picture, extra space occurred in site-title while moving the cursor onto it. J%B )CF(90C8QDP3`V@ZRNP image

Please check it out on my website.

Steps to reproduce the behavior

The problem css element is likely to be .site-title or .site-meta

  1. Please check it out on my website.
  2. Here is another example site with the same problem. 又见苍岚
  3. This is an example without such problem.

Environment Information

Node.js and NPM Information

node: 12.20.0
npm: 6.14.8

Package dependencies Information

+-- @fancyapps/fancybox@3.5.7
+-- fancybox@3.0.1
+-- hexo@5.3.0
+-- hexo-abbrlink@2.2.1
+-- hexo-asset-image@1.0.0
+-- hexo-blog-encrypt@3.1.6
+-- hexo-deployer-git@2.1.0
+-- hexo-generator-archive@1.0.0
+-- hexo-generator-baidu-sitemap@0.1.9
+-- hexo-generator-category@1.0.0
+-- hexo-generator-feed@3.0.0
+-- hexo-generator-index@2.0.0
+-- hexo-generator-searchdb@1.3.3
+-- hexo-generator-sitemap@2.1.0
+-- hexo-generator-tag@1.0.0
+-- hexo-helper-live2d@3.1.1
+-- hexo-lazyload-image@1.0.9
+-- hexo-renderer-ejs@1.0.0
+-- hexo-renderer-marked@3.3.0
+-- hexo-renderer-stylus@2.0.1
+-- hexo-server@2.0.0
+-- hexo-theme-landscape@0.0.3
+-- jquery@3.6.0
`-- live2d-widget-model-wanko@1.0.5

Hexo Configuration

NexT Configuration

Other Information

google chrome

welcome[bot] commented 3 years ago

Thanks for opening this issue, maintainers will get back to you as soon as possible!

Eyxxxxx commented 3 years ago

it's because i use a custom style(a styl format document) and inside the custom styl I set a hover. It's not a bug of the theme. Sorry~