From c9b73a7fe224f9710d951e17b103e7e8a3016e33 Mon Sep 17 00:00:00 2001 From: Anne-Catherine <57360138+accognet@users.noreply.github.com> Date: Fri, 24 Nov 2023 15:17:42 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B0938=20-=20Improve=20print=20of=20portal?= =?UTF-8?q?=20object=20page=20and=20portal=20dashboard=20page=20(#537)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit N°938 - Improve print of portal object page and portal dashboard page --- .../portal/public/css/portal.scss | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/datamodels/2.x/itop-portal-base/portal/public/css/portal.scss b/datamodels/2.x/itop-portal-base/portal/public/css/portal.scss index dcf5c0cc15..fec61051f2 100644 --- a/datamodels/2.x/itop-portal-base/portal/public/css/portal.scss +++ b/datamodels/2.x/itop-portal-base/portal/public/css/portal.scss @@ -1463,3 +1463,27 @@ table .group-actions .item-action-wrapper .panel-body > p:last-child{ .wiki_broken_link { text-decoration: line-through; } + +@media print { + /* Prevent URLs from being displayed */ + a[href], img[src] { + &::after { + content: none !important; + } + } + + /* Force modals to be displayed one after another instead of stacked */ + .modal { + &.in { + position: relative; + top: unset; + z-index: unset; + overflow-y: unset; + } + + } + + #drag_overlay { + display: none; + } +} \ No newline at end of file