From 8f179e7b2da58b936f8a1043e55f90b37e82b017 Mon Sep 17 00:00:00 2001 From: Thai Tran Date: Mon, 27 Oct 2014 11:20:09 -0700 Subject: [PATCH] Modal forms have extra borders When forms are launched in a modal dialog, they appear fine. When launched into a new tab, they contain extra borders. This patch removes the extra borders and small refactor. Change-Id: I7bedb0e9496195e1201a538266f456bea4ba6160 Closes-Bug: #1386352 --- openstack_dashboard/static/dashboard/scss/horizon.scss | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/openstack_dashboard/static/dashboard/scss/horizon.scss b/openstack_dashboard/static/dashboard/scss/horizon.scss index 4d3ec48abf..7b23031188 100644 --- a/openstack_dashboard/static/dashboard/scss/horizon.scss +++ b/openstack_dashboard/static/dashboard/scss/horizon.scss @@ -836,11 +836,9 @@ form label { .static_page { float: left; - background-color: $body-bg; - border: 1px solid $border-color; -} -.static_page > form { - margin-bottom: 0; + > form { + margin-bottom: 0; + } } .left {