[PATCH V2] UI bug fix: Properly display storage volumes on Storage tab

While selecting an active storage pool, the storage volumes in it should be listed. But commit 1fb4257f changed "hide-content" CSS class to "display: none!important" which is preveting the storage volumes to be displayed through .slideDown() function. Set "style=display:none" to the volumes div to fix it. Signed-off-by: Aline Manera <alinefm@linux.vnet.ibm.com> --- ui/css/theme-default/storage.css | 2 +- ui/pages/tabs/storage.html.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/css/theme-default/storage.css b/ui/css/theme-default/storage.css index ab92de2..f635c2f 100644 --- a/ui/css/theme-default/storage.css +++ b/ui/css/theme-default/storage.css @@ -309,7 +309,7 @@ .volumes { background: #73716F; width: 1004px; - display: inline-block; + display: none; margin-top: 10px; border: 1px solid rgb(204, 204, 204); } diff --git a/ui/pages/tabs/storage.html.tmpl b/ui/pages/tabs/storage.html.tmpl index 34ccd21..87205bd 100644 --- a/ui/pages/tabs/storage.html.tmpl +++ b/ui/pages/tabs/storage.html.tmpl @@ -91,7 +91,7 @@ <div class="arrow-down"></div> </div> </div> - <div class="volumes hide-content"> + <div class="volumes"> <div id="volume{name}" class="volumeslist" data-name="{name}" ></div> <div class="clear"></div> </div> -- 1.9.3

Reviewed-by: Crístian Viana <vianac@linux.vnet.ibm.com> Tested-by: Crístian Viana <vianac@linux.vnet.ibm.com> On 02-09-2014 15:07, Aline Manera wrote:
While selecting an active storage pool, the storage volumes in it should be listed. But commit 1fb4257f changed "hide-content" CSS class to "display: none!important" which is preveting the storage volumes to be displayed through .slideDown() function. Set "style=display:none" to the volumes div to fix it.
Signed-off-by: Aline Manera <alinefm@linux.vnet.ibm.com>
participants (2)
-
Aline Manera
-
Crístian Viana