The internal width dimension of an panel extension is 318px.
Inside that you need to take into account for a scrollbar if you need a scrollbar. Easiest methods is to support a flexible width design, since the extension can look wildly different if a user “pops out” the extension.
I’m sure the docs had some notes in the docs on dimensions but I can’t find them