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:
Leroy Förster
2020-02-03 08:48:37 +01:00
committed by GitHub
parent b9e32a9795
commit b4a759c0fc
2 changed files with 0 additions and 2 deletions

View File

@@ -51,7 +51,6 @@ a.discrete-link:focus {
.fullscreen {
z-index: 8888;
width: 100%;
height: 100%;
position: fixed;
top: 0;

View File

@@ -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");