Added an button to hide the sidebar.

Feature wished by Mr.AtiX. That way you can view tables in full screen.
This commit is contained in:
Jan Böhmer 2019-09-20 13:55:52 +02:00
parent 1301459718
commit 7f6c9b614f
3 changed files with 65 additions and 0 deletions

View file

@ -139,6 +139,23 @@ body {
filter: blur(2px);
}
/*
The sidebar toggle button floats on the left side and is hidden when the viewport is to small for
showing the sidebar (on devices with md or higher)
*/
#sidebar-toggle-button {
position: fixed;
left: 3px;
bottom: 50%;
}
@media (max-width: 576px) {
#sidebar-toggle-button {
display: none;
}
}
/********************************
* Toasts
********************************/
@ -656,6 +673,8 @@ table.dataTable {
margin-top: 0 !important;
}
/*********************************
Workarounds
*********************************/