From 12b063f455e44542591a96e5d478800e71de94b6 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Tue, 18 Aug 2020 01:27:45 -0700 Subject: [PATCH] Performance improvement for device list scrolling in mobile app. --- views/default-mobile.handlebars | 69 +++++++++++++++++++++++++++++---- 1 file changed, 61 insertions(+), 8 deletions(-) diff --git a/views/default-mobile.handlebars b/views/default-mobile.handlebars index 4a67ac2a..c636c621 100644 --- a/views/default-mobile.handlebars +++ b/views/default-mobile.handlebars @@ -345,6 +345,40 @@ .deviceBatterySmall9 { background: url(../images/batteries24.png) -112px 0px; } .deviceBatterySmall10 { background: url(../images/batteries24.png) -126px 0px; } .deviceBatterySmall11 { background: url(../images/batteries24.png) -140px 0px; } + + .devList1 { + height: 50px; + cursor: pointer; + position: relative; + margin-top: 5px; + margin-bottom: 5px; + } + + .devList2 { + float: left; + margin-left: 4px + } + + .devList3 { + width: auto; + height: 40px; + background-color: lightgray; + margin-left: 60px; + padding-top: 5px; + padding-bottom: 5px; + border-radius: 8px 0px 0px 8px; + } + + .devList4 { + padding-left: 12px; + padding-top: 2px; + } + + .devList5 { + padding-left: 12px; + padding-top: 3px; + color: gray + } @@ -374,7 +408,7 @@