mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +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:
@@ -51,7 +51,6 @@ a.discrete-link:focus {
|
|||||||
|
|
||||||
.fullscreen {
|
.fullscreen {
|
||||||
z-index: 8888;
|
z-index: 8888;
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@@ -359,7 +359,6 @@ $(".switch-view-mode-button").on('click', function(e)
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
$("#shoppinglist-main").toggleClass("fullscreen");
|
$("#shoppinglist-main").toggleClass("fullscreen");
|
||||||
$("#shoppinglist-main").toggleClass("px-0 mx-0");
|
|
||||||
$(".dataTables_scrollHeadInner").width(""); // Remove absolute width on element set by DataTables
|
$(".dataTables_scrollHeadInner").width(""); // Remove absolute width on element set by DataTables
|
||||||
$(".dataTables_scrollHeadInner table").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");
|
$("body").toggleClass("fullscreen-card");
|
||||||
|
Reference in New Issue
Block a user