mirror of
https://github.com/grocy/grocy.git
synced 2025-08-19 20:11:16 +00:00
Use full width for compact shopping list (#541)
I had luck with not enforcing any width, not even 100% and removed the padding an margin overrides from the shoppinglist.js I also tested it on a real Android device to be really sure.
This commit is contained in:
@@ -359,7 +359,6 @@ $(".switch-view-mode-button").on('click', function(e)
|
||||
e.preventDefault();
|
||||
|
||||
$("#shoppinglist-main").toggleClass("fullscreen");
|
||||
$("#shoppinglist-main").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");
|
||||
|
Reference in New Issue
Block a user