PDA

View Full Version : x-panel-body: mystery margin-right



mtamburro
15 Jul 2011, 1:18 PM
I've created some panels, and when I inspect the computed styles for the generated internal divs (with class x-panel-body) I see an unexpected (and inconsistent) value for margin-right, depending on the browser.

In Safari, the computed style reports 8px for margin-right. In Chrome, the computed style reports 0px for margin-right. Visually, (in both browsers--as well as Mobile Safari) there appears to be a right margin of about 8px.

The kicker: I'm even applying a bodyCls to my panels, and assigning a style that has margin: 0px; padding: 0px. This definitely takes care of the inherited padding values, but does nothing with that wacky margin-right.

Anyone run in to this issue?