-
Notifications
You must be signed in to change notification settings - Fork 3.7k
the web interface is too small #740
Comments
我在chrome上打开http://demo.pyspider.org也会界面小 换了firefox后开始也很小 过了几秒就好了 也不知道什么原因 |
this style in debug.min.css:
caused the bug changed it to a explicit value like this:
you can change the page source code via developer tool (press f12 in win , option + command + i in macOS) temporarily . <iframe src="/blank.html" sandbox="allow-same-origin allow-scripts" height="100%"></iframe> to <iframe src="/blank.html" sandbox="allow-same-origin allow-scripts" height="900px"></iframe> as a hack |
fix the bug "the web interface is too small " mentioned in binux#740
changed it to a explicit value like this:
still have bug |
to fix the bug completly for all browser is too hard for me. so sorry .1
this work for chrome,but in firefox , one more height is added, i do not know why. <iframe src="/blank.html" sandbox="allow-same-origin allow-scripts" height="60px" height="100%"></iframe> 2in debug.min.css change to below:
this will work fine in chrome, but not for firefox and safari |
By design the height of iframe show adjusted by JS after page loaded: pyspider/pyspider/webui/static/src/debug.js Line 523 in f2b7fb0
|
so you can fix it by doing this:
|
0 to this fix a css bug in firefox 1
2 change
|
@LittleGhosts It's useful to change debug.min.js for Chrome like this: |
I use mac, I edit
It work for me. the |
It work for me , and change 900px a suitable XXpx. ( no use while filling like 80% ...) |
I think this issue was introduced in 59f3e4e because the automatic height adjustment depends on |
I've tried chrome, firefox on both Win 10 and Mac
![image](https://user-images.githubusercontent.com/3040410/30902865-74946e84-a39f-11e7-80d1-c8416ad8ba96.png)
![image](https://user-images.githubusercontent.com/3040410/30902869-7b73134a-a39f-11e7-8b62-24188f1c3d39.png)
pyspider version 0.3.9
The text was updated successfully, but these errors were encountered: