mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-09 20:15:07 +00:00
Fixed: Extra padding on print layout because of the sidebar
This commit is contained in:
parent
31b4c300f0
commit
94275c507f
|
@ -174,7 +174,7 @@ export class FuseSidebarComponent implements OnInit, OnDestroy
|
|||
this._renderer.setStyle(this._elementRef.nativeElement, 'max-width', styleValue);
|
||||
|
||||
// Set the style and class
|
||||
this._renderer.setStyle(sibling, styleRule, styleValue, RendererStyleFlags2.Important + RendererStyleFlags2.DashCase);
|
||||
this._renderer.setStyle(sibling, styleRule, styleValue);
|
||||
this._renderer.addClass(this._elementRef.nativeElement, 'folded');
|
||||
}
|
||||
// If unfolded...
|
||||
|
@ -434,7 +434,7 @@ export class FuseSidebarComponent implements OnInit, OnDestroy
|
|||
this._renderer.setStyle(this._elementRef.nativeElement, 'max-width', styleValue);
|
||||
|
||||
// Set the style and class
|
||||
this._renderer.setStyle(sibling, styleRule, styleValue, RendererStyleFlags2.Important + RendererStyleFlags2.DashCase);
|
||||
this._renderer.setStyle(sibling, styleRule, styleValue);
|
||||
this._renderer.addClass(this._elementRef.nativeElement, 'folded');
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
.page-break-before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media print {
|
||||
|
@ -47,6 +46,13 @@
|
|||
display: none !important;
|
||||
}
|
||||
|
||||
#main,
|
||||
#container-1,
|
||||
#container-2,
|
||||
#container-3 {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.ps {
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user