mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 10:14:44 +02:00
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:
parent
1301459718
commit
7f6c9b614f
3 changed files with 65 additions and 0 deletions
|
@ -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
|
||||
*********************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue