Chrome扩展,弹出窗口的高度 [英] chrome extension, popup window's height

查看:162
本文介绍了Chrome扩展,弹出窗口的高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我看来,弹出窗口的高度限制为489像素。
如果我将弹出窗口的body元素设置为600像素的高度,那么弹出窗口会获得滚动条(因为页面内部会变大),但弹出窗口不会改变它的大小。

It seems to me that the popup window's height has a limit of 489 pixels. If I'm setting the body element of the popup to 600 pixels of height, then popup window gets a scroll bar (because the page inside becomes larger) but the popup window doesn't change its size.

是否有可能使弹出窗口的高度大于489像素?

Is it possible to make the popup window's height bigger then 489 pixels?

推荐答案

html body 元素在css中设置 height

Set height in css for both html and body elements.

这篇关于Chrome扩展,弹出窗口的高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆