{"action":"created","issue":{"url":"https://api.github.com/repos/theme-next/hexo-theme-next/issues/328","repository_url":"https://api.github.com/repos/theme-next/hexo-theme-next","labels_url":"https://api.github.com/repos/theme-next/hexo-theme-next/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/theme-next/hexo-theme-next/issues/328/comments","events_url":"https://api.github.com/repos/theme-next/hexo-theme-next/issues/328/events","html_url":"https://github.com/theme-next/hexo-theme-next/issues/328","id":333045565,"node_id":"MDU6SXNzdWUzMzMwNDU1NjU=","number":328,"title":"Floating menu gets wrong on sidebar","user":{"login":"henryhoo","id":7495621,"node_id":"MDQ6VXNlcjc0OTU2MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/7495621?v=4","gravatar_id":"","url":"https://api.github.com/users/henryhoo","html_url":"https://github.com/henryhoo","followers_url":"https://api.github.com/users/henryhoo/followers","following_url":"https://api.github.com/users/henryhoo/following{/other_user}","gists_url":"https://api.github.com/users/henryhoo/gists{/gist_id}","starred_url":"https://api.github.com/users/henryhoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henryhoo/subscriptions","organizations_url":"https://api.github.com/users/henryhoo/orgs","repos_url":"https://api.github.com/users/henryhoo/repos","events_url":"https://api.github.com/users/henryhoo/events{/privacy}","received_events_url":"https://api.github.com/users/henryhoo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-17T08:24:55Z","updated_at":"2018-06-17T08:41:33Z","closed_at":null,"author_association":"NONE","body":"<!-- ATTENTION!\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOUT INVESTIGATING.\r\n如果你不填充下面的内容，我们可能会直接关闭你的 issue。\r\n\r\nIf you want to fast resolve your issue, WRITE IT IN ENGLISH, please. Not all contributors/collaborators know Chinese language and Google translate can't always give true translates on issues. Thanks!\r\nYou may delete this recomendations and use template which is placed below.\r\n-->\r\n\r\n### I agree and want to create new issue <!-- (我确认我已经查看了) -->\r\n\r\n<!-- Check all with [x] (把 [ ] 换成 [X] 来选择) -->\r\n- [X] Yes, I was on [Hexo Docs page](https://hexo.io/docs/), especially on [Templates](https://hexo.io/docs/templates.html), [Variables](https://hexo.io/docs/variables.html), [Helpers](https://hexo.io/docs/helpers.html) and [Troubleshooting](https://hexo.io/docs/troubleshooting.html).\r\n- [X] Yes, I was on [NexT Documentation Site](http://theme-next.org/docs/).\r\n- [X] And yes, I already searched for current [issues](https://github.com/theme-next/hexo-theme-next/issues?utf8=%E2%9C%93&q=is%3Aissue) and this is not help to me.\r\n\r\n***\r\n\r\n### Expected behavior <!-- (预期行为) -->\r\nMenus have enough space on sidebar\r\n\r\n### Actual behavior <!-- (实际行为) -->\r\nMenus do not have enough space on sidebar after enabling local seach menu (NexT.Pisces v6.2.0)\r\n<img width=\"923\" alt=\"screen shot 2018-06-17 at 4 19 15 am\" src=\"https://user-images.githubusercontent.com/7495621/41506159-4d663d72-71e6-11e8-86b0-6bd4960cf9ab.png\">\r\n\r\n\r\n### Steps to reproduce the behavior <!-- (重现步骤) -->\r\n1. Add multipal menus\r\n```\r\n  menu:\r\n    home: / || home\r\n    about: /about/ || user\r\n    tags: /tags/ || tags\r\n    categories: /categories/ || th\r\n```\r\n2. Enable local search\r\n```\r\nlocal_search:\r\n  enable: true\r\n```\r\n\r\n* Link to demo site with this issue: N/A\r\n* Link(s) to source code or any usefull link(s): N/A\r\n\r\n### Node.js and NPM Information\r\n<!-- Paste output from `node -v && npm -v`  (粘贴 `node -v && npm -v` 输出的信息) -->\r\n```\r\nv9.10.1\r\n5.6.0\r\n\r\n┌──────────────────────────────────────────────────────────┐\r\n│                 npm update check failed                  │\r\n│           Try running with sudo or get access            │\r\n│           to the local update config store via           │\r\n│ sudo chown -R $USER:$(id -gn $USER) /Users/henry/.config │\r\n└──────────────────────────────────────────────────────────┘\r\n```\r\n\r\n### Package dependencies Information\r\n<!-- Paste output from `cat package.json`  (粘贴 `cat package.json` 输出的信息) -->\r\n```\r\n{\r\n  \"name\": \"hexo-site\",\r\n  \"version\": \"0.0.0\",\r\n  \"private\": true,\r\n  \"hexo\": {\r\n    \"version\": \"3.7.1\"\r\n  },\r\n  \"dependencies\": {\r\n    \"hexo\": \"^3.7.1\",\r\n    \"hexo-deployer-git\": \"^0.3.1\",\r\n    \"hexo-generator-archive\": \"^0.1.4\",\r\n    \"hexo-generator-category\": \"^0.1.3\",\r\n    \"hexo-generator-index\": \"^0.2.0\",\r\n    \"hexo-generator-searchdb\": \"^1.0.8\",\r\n    \"hexo-generator-tag\": \"^0.2.0\",\r\n    \"hexo-renderer-ejs\": \"^0.3.0\",\r\n    \"hexo-renderer-marked\": \"^0.3.2\",\r\n    \"hexo-renderer-stylus\": \"^0.3.3\",\r\n    \"hexo-server\": \"^0.2.0\"\r\n  }\r\n}\r\n```\r\n\r\n### Hexo Information\r\n\r\n#### Hexo version\r\n<!-- Paste output from `hexo -v`  (粘贴 `hexo -v` 输出的信息) -->\r\n```\r\nhexo: 3.7.1\r\nhexo-cli: 1.1.0\r\nos: Darwin 17.4.0 darwin x64\r\nhttp_parser: 2.8.0\r\nnode: 9.10.1\r\nv8: 6.2.414.46-node.23\r\nuv: 1.19.2\r\nzlib: 1.2.11\r\nares: 1.13.0\r\nmodules: 59\r\nnghttp2: 1.29.0\r\nnapi: 2\r\nopenssl: 1.0.2o\r\nicu: 60.2\r\nunicode: 10.0\r\ncldr: 32.0.1\r\ntz: 2017c\r\n```\r\n\r\n#### Hexo Configuration\r\n<!-- Paste configuration from Hexo `_config.yml`  (从 Hexo `_config.yml` 中粘贴信息) -->\r\n```yml\r\n\r\n```\r\n\r\n### NexT Information\r\n\r\n**NexT Version:**\r\n<!-- Check needed with [x] (把 [ ] 换成 [X] 来选择) -->\r\n\r\n- [ ] Latest Master branch\r\n- [X] Latest Release version\r\n- [ ] Old version\r\n\r\n\r\n**NexT Scheme:**\r\n<!-- Check needed with [x] (把 [ ] 换成 [X] 来选择) -->\r\n\r\n- [ ] All schemes\r\n- [ ] Muse\r\n- [ ] Mist\r\n- [X] Pisces\r\n- [ ] Gemini\r\n\r\n\r\n#### NexT Configuration:\r\n<!-- Paste ONLY CHANGED CONFIGURATION from NexT `_config.yml` (只粘贴NexT主题配置文件 `_config.yml` 中修改过的部分) -->\r\n```yml\r\n  scheme: Pisces\r\n  avatar: /images/avatar.jpg\r\n  sidebar:\r\n    display: always\r\n  social:\r\n    GitHub: https://github.com/henryhoo || github\r\n    FB Page: https://www.facebook.com/jiaxi.henry.he || facebook\r\n    StackOverflow: https://stackoverflow.com/users/6211857/jiaxi-he || stack-overflow\r\n    Instagram: https://www.instagram.com/jiaxi_h || instagram\r\n  menu:\r\n    home: / || home\r\n    about: /about/ || user\r\n    tags: /tags/ || tags\r\n    categories: /categories/ || th\r\n  reward_comment: Donate\r\n  wechatpay: /images/wechatpay.jpg\r\n  leancloud_visitors:\r\n    enable: true\r\n    app_id: xxxxxxxx\r\n    app_key: xxxxxxxx\r\n    # Dependencies: https://github.com/theme-next/hexo-leancloud-counter-security\r\n    # If you don't care about security in lc counter and just want to use it directly\r\n    # (without hexo-leancloud-counter-security plugin), set the `security` to `false`.\r\n    security: false\r\n    betterPerformance: false\r\n  gitment:\r\n    enable: true\r\n    mint: true # RECOMMEND, A mint on Gitment, to support count, language and proxy_gateway\r\n    count: true # Show comments count in post meta area\r\n    lazy: false # Comments lazy loading with a button\r\n    cleanly: false # Hide 'Powered by ...' on footer, and more\r\n    language: # Force language, or auto switch by theme\r\n    github_user: henryhoo # MUST HAVE, Your Github ID\r\n    github_repo: gitment-comments # MUST HAVE, The repo you use to store Gitment comments\r\n    client_id: xxxxxxxx # MUST HAVE, Github client id for the Gitment\r\n    client_secret: xxxxxxxx # EITHER this or proxy_gateway, Github access secret token for the Gitment\r\n    proxy_gateway: # Address of api proxy, See: https://github.com/aimingoo/intersect\r\n    redirect_protocol: # Protocol of redirect_uri with force_redirect_protocol when mint enabled\r\n  links_layout: inline\r\n  links:\r\n    Xingyao: http://xingyaohuang.com\r\n    Yiwen: https://yiwencui.wixsite.com/portfolio\r\n  add_this_id: xxxxxxxx-xxxxxxxx\r\n  local_search:\r\n    enable: true\r\n    trigger: auto\r\n    # show top n results per article, show all results by setting to -1\r\n    top_n_per_article: 1\r\n    # unescape html strings to the readable one\r\n    unescape: true\r\n  footer:\r\n    # Specify the date when the site was setup.\r\n    # If not defined, current year will be used.\r\n    since: 2016\r\n```\r\n\r\n### Other Information <!-- (Like Browser, System, Screenshots) -->\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/59776568-floating-menu-gets-wrong-on-sidebar?utm_campaign=plugin&utm_content=tracker%2F83013353&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F83013353&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/theme-next/hexo-theme-next/issues/comments/397863880","html_url":"https://github.com/theme-next/hexo-theme-next/issues/328#issuecomment-397863880","issue_url":"https://api.github.com/repos/theme-next/hexo-theme-next/issues/328","id":397863880,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Nzg2Mzg4MA==","user":{"login":"henryhoo","id":7495621,"node_id":"MDQ6VXNlcjc0OTU2MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/7495621?v=4","gravatar_id":"","url":"https://api.github.com/users/henryhoo","html_url":"https://github.com/henryhoo","followers_url":"https://api.github.com/users/henryhoo/followers","following_url":"https://api.github.com/users/henryhoo/following{/other_user}","gists_url":"https://api.github.com/users/henryhoo/gists{/gist_id}","starred_url":"https://api.github.com/users/henryhoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henryhoo/subscriptions","organizations_url":"https://api.github.com/users/henryhoo/orgs","repos_url":"https://api.github.com/users/henryhoo/repos","events_url":"https://api.github.com/users/henryhoo/events{/privacy}","received_events_url":"https://api.github.com/users/henryhoo/received_events","type":"User","site_admin":false},"created_at":"2018-06-17T08:41:32Z","updated_at":"2018-06-17T08:41:32Z","author_association":"NONE","body":"@ivan-nginx Yes, I just found this problem too. It seems because I set sidebar to always display:\r\n```\r\n  sidebar:\r\n    display: always\r\n```\r\nAny idea how to debug in?"}}
{"actor":{"display_login":"henryhoo"}}