Skip to content

Commit

Permalink
Merge pull request #2729 from salesforce-ux/iframe
Browse files Browse the repository at this point in the history
feat(template): Neutralize brand band space around iframed content
  • Loading branch information
stefsullrew authored Aug 31, 2017
2 parents 179080f + b00e9fe commit e1e1412
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ui/components/brand-band/base/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,10 @@
padding: $template-gutters 0 0 $template-gutters;
}

// This template is used on the oneAloha wrapper surrounding an iframed page
// This template is used on the oneAloha wrapper surrounding an iframed page and has now been extended so that it effectively neutralizes the space created by brand band
.slds-template_iframe {
width: 100%; // added for console - watch this
padding: $template-gutters;
width: calc(100% + (#{$template-gutters} * 2));
height: calc(100% + (#{$template-gutters} * 2));
margin: ($template-gutters * -1);
background-color: $card-color-background;
}

0 comments on commit e1e1412

Please sign in to comment.