From 740af8f7b6f1a4ecc7d90d408f33f1e7b000b4f0 Mon Sep 17 00:00:00 2001 From: RubenPX Date: Thu, 21 Apr 2022 19:53:09 +0200 Subject: [PATCH 1/8] Style fix show lots as list --- ereuse_devicehub/static/css/style.css | 36 +++++++++++++++---- .../templates/inventory/device_list.html | 4 +-- 2 files changed, 31 insertions(+), 9 deletions(-) diff --git a/ereuse_devicehub/static/css/style.css b/ereuse_devicehub/static/css/style.css index 8e263853..3b9bd4da 100644 --- a/ereuse_devicehub/static/css/style.css +++ b/ereuse_devicehub/static/css/style.css @@ -1,10 +1,10 @@ -/** -* Template Name: NiceAdmin - v2.2.0 -* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/ -* Author: BootstrapMade.com -* License: https://bootstrapmade.com/license/ -*/ - +/** +* Template Name: NiceAdmin - v2.2.0 +* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/ +* Author: BootstrapMade.com +* License: https://bootstrapmade.com/license/ +*/ + /*-------------------------------------------------------------- # General --------------------------------------------------------------*/ @@ -1081,4 +1081,26 @@ h1, h2, h3, h4, h5, h6 { text-align: center; font-size: 13px; color: #012970; +} + +/*-------------------------------------------------------------- +# LotsSelector +--------------------------------------------------------------*/ + +#dropDownLotsSelector { + max-height: 500px; +} + +#dropDownLotsSelector > ul#LotsSelector { + list-style-type: none; + margin: 0; + padding: 0; + min-width: max-content; + height: 40vh; + overflow-y: auto; +} + +#dropDownLotsSelector #ApplyDeviceLots { + padding-top: 0px; + padding-bottom: 5px; } \ No newline at end of file diff --git a/ereuse_devicehub/templates/inventory/device_list.html b/ereuse_devicehub/templates/inventory/device_list.html index 8d962d90..6c9e7825 100644 --- a/ereuse_devicehub/templates/inventory/device_list.html +++ b/ereuse_devicehub/templates/inventory/device_list.html @@ -79,9 +79,9 @@ -