diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 886b7a4a5..76f14f783 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -11,6 +11,7 @@ Changelog * Fix: Initial disabled state of InlinePanel add button is now set correctly on non-default tabs (Matthew Downey) * Fix: Redirects with unicode characters now work (Rich Brennan) * Fix: Prevent explorer view from crashing when page model definitions are missing, allowing the offending pages to be deleted (Matt Westcott) + * Fix: Hide the userbar from printed page representation (Eugene Morozov) 1.11.1 (07.07.2017) diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst index 05f8d3fcf..fefcfe55b 100644 --- a/CONTRIBUTORS.rst +++ b/CONTRIBUTORS.rst @@ -245,6 +245,7 @@ Contributors * Rob van der Linde * Paul Kamp * dwasyl +* Eugene Morozov Translators =========== diff --git a/docs/releases/1.12.rst b/docs/releases/1.12.rst index 7f04f6550..0fea4b807 100644 --- a/docs/releases/1.12.rst +++ b/docs/releases/1.12.rst @@ -31,6 +31,7 @@ Bug fixes * Initial disabled state of InlinePanel add button is now set correctly on non-default tabs (Matthew Downey) * Redirects with unicode characters now work (Rich Brennan) * Prevent explorer view from crashing when page model definitions are missing, allowing the offending pages to be deleted (Matt Westcott) + * Hide the userbar from printed page representation (Eugene Morozov) Upgrade considerations diff --git a/wagtail/wagtailadmin/static_src/wagtailadmin/scss/userbar.scss b/wagtail/wagtailadmin/static_src/wagtailadmin/scss/userbar.scss index 448293b11..87d086e4c 100644 --- a/wagtail/wagtailadmin/static_src/wagtailadmin/scss/userbar.scss +++ b/wagtail/wagtailadmin/static_src/wagtailadmin/scss/userbar.scss @@ -99,6 +99,14 @@ $positions: ( height: auto; } + +@media print { + .#{$namespace}-userbar { + display: none; + } +} + + .#{$namespace}-userbar-trigger { display: flex; align-items: center;