How to set initial size of browser popup?

I am new to developing Chrome extensions. I have a browser action with a default popup in the form of an html page. Now the problem is that I am providing height and width for my body, but the popup is getting very small.

+5
source share
2 answers

Add widthand heightin bodyusing the following CSS:

body{
   width:500px;
   height:500px;
   }
+7
source

Link the style.cssstyles style.cssto the pop-up HTML page, and then customize it as you wish.

0
source

All Articles