diff --git a/www/assets/css/tablet.css b/www/assets/css/tablet.css index f209c5b..9fc73a5 100644 --- a/www/assets/css/tablet.css +++ b/www/assets/css/tablet.css @@ -34,6 +34,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. } .page[data-name="add"] .tabs #add-tab { width: 66.67% !important; + position: relative; /* Make the FAB stay where it should */ } .page[data-name="add"] .tabs #history-tab { width: 33.33% !important; @@ -46,7 +47,23 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. padding-bottom: 0; } + .page[data-name="add"] #add-tab .list { + /* .elevation-3 */ + box-shadow: var(--f7-elevation-3)!important; + } + + .page[data-name="add"] #history-tab { + /*box-shadow: inset 5px 0 9px -5px rgba(0,0,0,0.3);*/ + border-left: 1px solid rgba(0,0,0,0.1); + } + .page[data-name="add"] .fab { margin-bottom: 0; } +} + +@media all and (min-width: 768px) and (min-height: 700px) { + .page[data-name="add"] #add-tab .page-content { + margin-top: 1rem; + } } \ No newline at end of file diff --git a/www/assets/js/add.js b/www/assets/js/add.js index 644d2c3..03dcc9f 100644 --- a/www/assets/js/add.js +++ b/www/assets/js/add.js @@ -4,7 +4,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -$("#addpackagebtn").click(function () { +$(".addpackagebtn").click(function () { if ($("input[name=number]").val().trim() == "") { playSound("error"); app.toast.show({ diff --git a/www/pages/add.html b/www/pages/add.html index a8920ed..8f090c8 100644 --- a/www/pages/add.html +++ b/www/pages/add.html @@ -61,8 +61,8 @@ -
-
+
+
  • Address
  • @@ -130,11 +130,17 @@
-