chrome extension, popup window's height

前端 未结 4 1542
庸人自扰
庸人自扰 2021-02-01 15:08

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

4条回答
  •  抹茶落季
    2021-02-01 15:36

    The popup should size to fit the (relatively positioned) content inside. Alternatively, you can set the height CSS property on the body of the your popup page to force it to a particular height.

    You can also hide the scrollbar by setting overflow: hidden; on body.

提交回复
热议问题