diff --git a/views/excalidraw/excalidraw_app.php b/views/excalidraw/excalidraw_app.php index 374bc18ecb674d83ac84b8508e057b2a350735e3..3a110f3b696cdb81711b9e1df49c4a9790133fe8 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 ?>