From nobody Thu Mar 28 11:03:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of ovirt.org designates 66.187.230.42 as permitted sender) client-ip=66.187.230.42; envelope-from=kimchi-devel-bounces@ovirt.org; helo=lists.ovirt.org; Authentication-Results: mx.zoho.com; spf=pass (zoho.com: domain of ovirt.org designates 66.187.230.42 as permitted sender) smtp.mailfrom=kimchi-devel-bounces@ovirt.org; Return-Path: Received: from lists.ovirt.org (lists.phx.ovirt.org [66.187.230.42]) by mx.zohomail.com with SMTPS id 14901293678361017.3805921233139; Tue, 21 Mar 2017 13:49:27 -0700 (PDT) Received: from lists.phx.ovirt.org (localhost [127.0.0.1]) by lists.ovirt.org (Postfix) with ESMTP id 6BAF68206DE; Tue, 21 Mar 2017 20:49:26 +0000 (UTC) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lists.ovirt.org (Postfix) with ESMTPS id 7BED7820691 for ; Tue, 21 Mar 2017 20:49:24 +0000 (UTC) Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v2LKmlou043895 for ; Tue, 21 Mar 2017 16:49:23 -0400 Received: from e24smtp05.br.ibm.com (e24smtp05.br.ibm.com [32.104.18.26]) by mx0a-001b2d01.pphosted.com with ESMTP id 29b9vhc9x2-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 21 Mar 2017 16:49:23 -0400 Received: from localhost by e24smtp05.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 21 Mar 2017 17:49:21 -0300 Received: from d24relay04.br.ibm.com (9.18.232.146) by e24smtp05.br.ibm.com (10.172.0.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 21 Mar 2017 17:49:18 -0300 Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.8.31.91]) by d24relay04.br.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v2LKnIVP32047340 for ; Tue, 21 Mar 2017 17:49:18 -0300 Received: from d24av01.br.ibm.com (localhost [127.0.0.1]) by d24av01.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id v2LKnHg4009013 for ; Tue, 21 Mar 2017 17:49:17 -0300 Received: from alinefm-TP440.br.ibm.com (alinefm-TP440.br.ibm.com [9.18.239.40]) by d24av01.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id v2LKnHxM009005 for ; Tue, 21 Mar 2017 17:49:17 -0300 X-Original-To: kimchi-devel@ovirt.org From: Aline Manera To: Kimchi Devel Date: Tue, 21 Mar 2017 17:49:16 -0300 X-Mailer: git-send-email 2.9.3 X-TM-AS-MML: disable x-cbid: 17032120-0032-0000-0000-0000054CE2DB X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17032120-0033-0000-0000-000011D112C2 Message-Id: <20170321204916.20007-1-alinefm@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-03-21_17:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001 definitions=main-1703210175 Subject: [Kimchi-devel] [PATCH] [Kimchi] Bug fix: Display full Volume dropdown menu content even when pool has few volumes X-BeenThere: kimchi-devel@ovirt.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: kimchi-devel-bounces@ovirt.org Errors-To: kimchi-devel-bounces@ovirt.org X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Daniel Barboza --- ui/css/kimchi.css | 6 +++++- ui/css/src/modules/_storage.scss | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ui/css/kimchi.css b/ui/css/kimchi.css index 0af9293..2d44919 100644 --- a/ui/css/kimchi.css +++ b/ui/css/kimchi.css @@ -2514,11 +2514,15 @@ ul { =20 #storage-root-container .volumes .volumeslist { padding: 22px; - min-height: 136px; + min-height: 188px; max-height: 505px; overflow: hidden; } =20 +#storage-root-container .volumes .volumeslist .wok-list { + min-height: inherit; +} + #storage-root-container .volumes .volumeslist .row { font-size: 0; margin-bottom: 22px; diff --git a/ui/css/src/modules/_storage.scss b/ui/css/src/modules/_storage= .scss index 70cb3fa..c8b84a9 100644 --- a/ui/css/src/modules/_storage.scss +++ b/ui/css/src/modules/_storage.scss @@ -82,11 +82,15 @@ =20 .volumeslist { padding: 22px; - min-height: 136px; + min-height: 188px; max-height: 505px; overflow: hidden; } =20 + .volumeslist .wok-list { + min-height: inherit; + } + .volumeslist .row { font-size: 0; margin-bottom: 22px; --=20 2.9.3 _______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel