Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

插入外链音乐时音乐框的大小显示不正常 #865

Closed
2 tasks done
ghost opened this issue May 4, 2016 · 14 comments
Closed
2 tasks done

插入外链音乐时音乐框的大小显示不正常 #865

ghost opened this issue May 4, 2016 · 14 comments

Comments

@ghost
Copy link

ghost commented May 4, 2016

Expected behavior (预期行为)

音乐框只占行宽的三分之一左右,行间距紧凑。

Actual behavior (实际行为)

音乐框占满一整行,并且行间距很大。

Steps to reproduce the behavior (重现步骤)

在旧版本(0.X)中没有问题,在最新版本中有问题。

NexT Informations

Add the ✔ sign before an item which is affected by this behavior.

NexT Version:

  • Master
  • Latest Release
  • Old version -

NexT Scheme:

  • All schemes
  • Muse
  • Mist
  • Pisces

Other Informations (Like Browser, System, Screenshots)

Chrome, Win10
default

@iissnan
Copy link
Owner

iissnan commented May 5, 2016

Fixed.

@iissnan iissnan added this to the v5.0.1 milestone May 5, 2016
@Edenharder
Copy link

Edenharder commented May 6, 2016

I update to the newest version but the bug is still there. And I check @oppontion 's blog and confirm that.

@iissnan
Copy link
Owner

iissnan commented May 6, 2016

我看 oppontion 现在的博客里显示是正常的

@Edenharder
Copy link

@iissnan 你是看的test那个博文吧?那里他是用的embed,关于这篇是用的iframe,我这里看宽度仍是不正常的。

@ghost
Copy link
Author

ghost commented May 8, 2016

@iissnan 确实还有一点问题,用iframe的时候虽然行间距正常了,但是长度不对,无法自行修改,总是占满一整行。

@iissnan
Copy link
Owner

iissnan commented May 12, 2016

宽度不做限制

@Edenharder
Copy link

@iissnan 我說的寬度應該是 @oppontion 說的長度,總是佔滿一行,無法自己修改。

@Edenharder
Copy link

Edenharder commented May 17, 2016

我用了一個比較極端的解決方案,即在source/js/src/utils.js中刪除對'music.163.com'的支持。這需要刪去68, 109-118行。這樣就能自己調控 iframe 的 height 和 width 了。

@szhgoldeneye
Copy link

@iissnan 正常引用后音乐框的宽度在pc网页端大了很多,手机端正常,尝试修改引用iframe的height为0后,pc网页端显示大小就正常了,但手机端显示就出问题

@leofee
Copy link

leofee commented May 27, 2016

我也发现这个问题了,我的解决方案是给播放器加一个div ,然后css 控制其宽高~

@szhgoldeneye
Copy link

@leofee 你更新一下最新版本 好像解决了这个问题

@weqeo
Copy link

weqeo commented Oct 11, 2016

@szhgoldeneye 并没有啊,我现在行宽还是不能控制的。。。

@otherfish
Copy link

the same issue, the new version,
0.5.0.1
snipaste20161028_212350

the old version,
0.4.5.1
snipaste20161028_212654

habren pushed a commit to habren/hexo-theme-next that referenced this issue Apr 8, 2017
@ivan-nginx
Copy link
Collaborator

@iissnan dont understand u, write in English if not solved. If solved, close it please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants