From d8ec8f4051fc6ccb78c423b32709d09f01495a5c Mon Sep 17 00:00:00 2001 From: Robb Hamilton Date: Thu, 5 Oct 2017 15:49:09 -0400 Subject: [PATCH] Fixes unnecessary scrollbar when there's a quota status alert and... * Fixes inconsistent spacing on h1 * Fixes unnecessary scrollbar on Limit Range tables Fixes #2213 --- app/views/quota.html | 14 ++++---------- dist/scripts/templates.js | 14 ++++---------- 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/app/views/quota.html b/app/views/quota.html index 1339e8d03f..937ae2fad5 100644 --- a/app/views/quota.html +++ b/app/views/quota.html @@ -1,9 +1,7 @@
-
+
-
-

Cluster Quota @@ -68,7 +66,7 @@

Memory Limit

- + Status has not been reported on this quota usage record. Any resources limited by this quota record can not be allocated. @@ -159,7 +157,7 @@

Memory Limit

- + Status has not been reported on this quota usage record. Any resources limited by this quota record can not be allocated. @@ -243,8 +241,7 @@

{{limitRange.metadata.name}}

- - + {{limit.type}} {{type | computeResourceLabel : true}} {{(typeLimits.min | usageWithUnits : type) || "—"}} @@ -253,14 +250,11 @@

{{limitRange.metadata.name}}

{{(typeLimits["default"] | usageWithUnits : type) || "—"}} {{typeLimits.maxLimitRequestRatio || "—"}} -
-
-
diff --git a/dist/scripts/templates.js b/dist/scripts/templates.js index aaf15ee230..a01d2a98b1 100644 --- a/dist/scripts/templates.js +++ b/dist/scripts/templates.js @@ -12792,10 +12792,8 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( $templateCache.put('views/quota.html', "
\n" + "
\n" + - "
\n" + + "
\n" + "\n" + - "
\n" + - "
\n" + "

\n" + "Cluster Quota\n" + "\n" + @@ -12858,7 +12856,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "\n" + "\n" + "\n" + - "\n" + + "\n" + "\n" + "Status has not been reported on this quota usage record. Any resources limited by this quota record can not be allocated.\n" + "\n" + @@ -12940,7 +12938,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "\n" + "\n" + "\n" + - "\n" + + "\n" + "\n" + "Status has not been reported on this quota usage record. Any resources limited by this quota record can not be allocated.\n" + "\n" + @@ -13015,8 +13013,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "\n" + "\n" + "\n" + - "\n" + - "\n" + + "\n" + "\n" + "{{limit.type}} {{type | computeResourceLabel : true}}\n" + "{{(typeLimits.min | usageWithUnits : type) || \"—\"}}\n" + @@ -13025,7 +13022,6 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "{{(typeLimits[\"default\"] | usageWithUnits : type) || \"—\"}}\n" + "{{typeLimits.maxLimitRequestRatio || \"—\"}}\n" + "\n" + - "\n" + "\n" + "\n" + "

\n" + @@ -13033,8 +13029,6 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "
\n" + "
\n" + "
\n" + - "
\n" + - "
\n" + "" );