How do I get rid of unwanted vertical and horizontal scrollbars that appear from the panel module in the sdk? My options are as follows:
var panel = require("sdk/panel").Panel({
width: 370,
height: 150,
position:{
top: -5,
right: 8
},
contentURL: data.url("panel.html"),
contentScriptWhen: "ready",
contentScriptFile: [data.url("js/jquery.js"),
data.url("js/panel.js")]
});
EDIT: I was able to solve this problem by adding a CSS Property to Body (overflow: hidden) as graciously recommended by either ZER0 or _zombie on #jetpack, I forget which!