From f357e0a7046e907b9920a2686c502c57ccf3d676 Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Fri, 20 Nov 2015 10:00:36 -0500 Subject: #90 - fixed wide screen issues, I think Former-commit-id: 1f9c629c426e825c8e4a845356469741b37bacb2 --- www/css/style.css | 10 ++++++++++ www/templates/events-modal.html | 8 ++++---- www/templates/monitors-modal.html | 10 +++++----- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/www/css/style.css b/www/css/style.css index ef98f353..462cb399 100644 --- a/www/css/style.css +++ b/www/css/style.css @@ -439,6 +439,16 @@ progress[aria-valuenow]:before { } +/* + +.object-fit_cover { object-fit: cover; width:100%; height:auto;} +.object-fit_contain { object-fit: contain; max-width:100%; height:auto; } +*/ + + +.object-fit_cover { object-fit: cover; width:100%; height:auto;} +.object-fit_contain { object-fit: contain; max-width:100%; max-height:100%; } + .list .item.item-accordion { line-height: 200px; padding-top: 0; diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index a348888b..6efb4f07 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -13,18 +13,18 @@
  • -
    - + ng-class="{'object-fit_cover':imageFit==false, 'object-fit_contain':imageFit==true}" />
    diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index 34bfad22..65e99803 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -9,7 +9,7 @@ - +
    @@ -17,10 +17,10 @@
    -
    - + @@ -28,7 +28,7 @@
    -- cgit v1.2.3