From 8b5b171fce04007b678a18baf98acb2e3d878847 Mon Sep 17 00:00:00 2001 From: Tero Laakso Date: Fri, 27 Sep 2024 15:21:31 +0300 Subject: [PATCH] Float child document action bar at the bottom when printing --- .../components/child-documents/ChildDocumentEditor.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/employee-frontend/components/child-documents/ChildDocumentEditor.tsx b/frontend/src/employee-frontend/components/child-documents/ChildDocumentEditor.tsx index 9c0b6b024f0..41191e2a042 100644 --- a/frontend/src/employee-frontend/components/child-documents/ChildDocumentEditor.tsx +++ b/frontend/src/employee-frontend/components/child-documents/ChildDocumentEditor.tsx @@ -75,6 +75,10 @@ const ActionBar = styled.div` background-color: white; margin-top: ${defaultMargins.L}; padding: ${defaultMargins.s} 0; + + @media print { + position: relative; + } ` const DocumentBasics = React.memo(function DocumentBasics({