mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Further optimized shopping list compact view (references #453)
This commit is contained in:
@@ -60,13 +60,6 @@ a.discrete-link:focus {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.fullscreen-card .fullscreen-no-gutters {
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
/* Fixes smooth scrolling on iOS */
|
||||
#sidebarResponsive,
|
||||
.fullscreen {
|
||||
|
@@ -359,6 +359,10 @@ $(".switch-view-mode-button").on('click', function(e)
|
||||
e.preventDefault();
|
||||
|
||||
$("#shoppinglist-main").toggleClass("fullscreen");
|
||||
$("#shoppinglist-main").toggleClass("px-0 mx-0");
|
||||
$("#shoppinglist-main").children(":first").toggleClass("px-0 mx-0");
|
||||
$(".dataTables_scrollHeadInner").width(""); // Remove absolute width on element set by DataTables
|
||||
$(".dataTables_scrollHeadInner table").width(""); // Remove absolute width on element set by DataTables
|
||||
$("body").toggleClass("fullscreen-card");
|
||||
$("#shopping-list-normal-view-button").toggleClass("d-none");
|
||||
$("#mainNav").toggleClass("d-none");
|
||||
|
Reference in New Issue
Block a user