Skip to content

Commit

Permalink
Bug fix: Display full Volume dropdown menu content even when pool has…
Browse files Browse the repository at this point in the history
… few volumes

When the storage pool has one or two storage volumes, the dropdown menu
would not display all the options as the height set to it was not
enough.
To avoid that, increase the min-height configuration.

Signed-off-by: Aline Manera <alinefm@linux.vnet.ibm.com>
  • Loading branch information
alinefm committed Mar 22, 2017
1 parent ee589fd commit 1e1f7b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion ui/css/kimchi.css
Original file line number Diff line number Diff line change
Expand Up @@ -2514,11 +2514,15 @@ ul {

#storage-root-container .volumes .volumeslist {
padding: 22px;
min-height: 136px;
min-height: 188px;
max-height: 505px;
overflow: hidden;
}

#storage-root-container .volumes .volumeslist .wok-list {
min-height: inherit;
}

#storage-root-container .volumes .volumeslist .row {
font-size: 0;
margin-bottom: 22px;
Expand Down
8 changes: 6 additions & 2 deletions ui/css/src/modules/_storage.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Project Kimchi
//
// Copyright IBM Corp, 2015-2016
// Copyright IBM Corp, 2015-2017
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -82,11 +82,15 @@

.volumeslist {
padding: 22px;
min-height: 136px;
min-height: 188px;
max-height: 505px;
overflow: hidden;
}

.volumeslist .wok-list {
min-height: inherit;
}

.volumeslist .row {
font-size: 0;
margin-bottom: 22px;
Expand Down

0 comments on commit 1e1f7b0

Please sign in to comment.