From 7dac34c1af24f45541ab0dafe4d90b0cfdebf1a4 Mon Sep 17 00:00:00 2001 From: Ann Yanich <ann.yanich@uol.de> Date: Thu, 15 Feb 2024 14:52:27 +0100 Subject: [PATCH] Update 'full screen' css for stud.ip 5.4 --- views/excalidraw/excalidraw_app.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/views/excalidraw/excalidraw_app.php b/views/excalidraw/excalidraw_app.php index 374bc18..3a110f3 100644 --- a/views/excalidraw/excalidraw_app.php +++ b/views/excalidraw/excalidraw_app.php @@ -1,12 +1,22 @@ <? if ($fullscreen) : ?> <!-- Hide all of Stud.IP's layout elements and remove extraneous padding.--> <style> - #barBottomContainer, #flex-header, .secondary-navigation, #layout-sidebar, #layout_footer, #page_title_container { + #barBottomContainer, #flex-header, .secondary-navigation, #layout-sidebar, #layout_footer, #page_title_container, #skip_link_navigation, #main-header, #sidebar, #main-footer, #scroll-to-top { display: none !important; } #layout_wrapper, #layout_content, #layout_container { - padding: 0; + padding: 0 !important; + } + body { + /* Prevent responsive css from switching this when the mobile breakpoint is reached */ + display: grid !important; + } + #content-wrapper { + padding: 0 !important; + margin: 0 !important; + grid-column: 1/3 !important; + grid-row: 1/3 !important; } </style> <? endif ?> -- GitLab