View Full Version : [4.0.5] Sass variable $window-header-padding not actually being used.

4 Aug 2011, 8:24 AM
I'm trying to change the header padding on Window styles, and noticed in variables/_window.scss the following variable:

$window-header-padding: 5px 5px 0 !default;

I tried changing it to just 5px so that I could get padding on the bottom as well, but it doesn't do anything. Digging through widgets/_window.scss I noticed the following line:

@include x-frame('window-header', '#{$ui-label}-top', top($ui-border-radius) right($ui-border-radius) 0 0, $window-border-width, 5px 5px 0, $ui-background-color);

The hard-coded 5px 5px 0 appears to be the padding variable, because if I replace that with the $window-header-padding variable, I get the updated padding as I would expect.