From 417299bdfd3c6111251ba55cfeca2d2d2a92300b Mon Sep 17 00:00:00 2001 From: Allen Rabinovich Date: Thu, 25 Apr 2013 14:08:05 -0700 Subject: [PATCH] Modified the "notvisible" CSS class to account for edge cases. In particular, I added absolute positioning and hidden overflow, which ensures that if an element has a persistent min-width (like a file input field apparently does), it doesn't affect its parent. (imported from commit 72e7a5bee2775fb6f229899ba849292eee76aa4a) --- zephyr/static/styles/zephyr.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zephyr/static/styles/zephyr.css b/zephyr/static/styles/zephyr.css index e900d4e4ec..93b01a403f 100644 --- a/zephyr/static/styles/zephyr.css +++ b/zephyr/static/styles/zephyr.css @@ -75,7 +75,11 @@ li, .table th, .table td { .notvisible { visibility: hidden !important; width: 0px !important; + min-width: 0px !important; + min-height: 0px !important; height: 0px !important; + overflow: hidden !important; + position: absolute !important; } /* Inline and block code */