From 4c2b11f6d7e459bcf314230364fa5fb0fa3f755e Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Fri, 17 May 2019 15:19:27 +0200 Subject: [PATCH] Add a note about CSS removal in upgrade-notes.md --- changelog/upgrade-notes.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/changelog/upgrade-notes.md b/changelog/upgrade-notes.md index 8645323f93..42db02f0a2 100644 --- a/changelog/upgrade-notes.md +++ b/changelog/upgrade-notes.md @@ -4,6 +4,18 @@ #### Backwards incompatible changes +#### Removal of CSS print rules + +The CSS media print rules were removed from the `ol.css` file. To get the previous behavior, use the following CSS: + +```css +@media print { + .ol-control { + display: none; + } +} +``` + #### Removal of optional this arguments The optional this (i.e. opt_this) arguments were removed from the following methods.