[pve-devel] [PATCH manager v2] add css fix for chrome >=56

Dominik Csapak d.csapak at proxmox.com
Fri Mar 3 10:17:25 CET 2017


with chrome/chromium version 56, they changed the way how they calculate
height of text in input fields (now it is correct according to the
standard) but extjs up to 6.2.1 has a fix for this in css

this patch reverses the fix in extjs and can be reverted when they
remove the fix upstream

the bug	(EXTJS-23628) and the fix are described here:
https://www.sencha.com/forum/showthread.php?335045

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
changes from v1:
    referenced the bug and forum thread with the solution
 www/css/ext6-pve.css | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css
index 083cc42..f42e935 100644
--- a/www/css/ext6-pve.css
+++ b/www/css/ext6-pve.css
@@ -508,3 +508,12 @@ table.osds td:first-of-type {
     font-style: italic;
     font-weight: bold;
 }
+
+/* chrome 56 fix */
+.x-webkit .x-form-text {
+    height: 100% !important;
+}
+
+.x-webkit :not(.x-form-textarea-body) > .x-form-trigger-wrap {
+    height: initial;
+}
-- 
2.1.4





More information about the pve-devel mailing list