From 338223d204c76c713acd6ae2165e5d97c71f3c18 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Tue, 10 May 2016 23:47:57 +0500 Subject: Fixing DM separator and margin on system console (#2944) Fixing margins on system console --- webapp/components/admin_console/setting.jsx | 2 +- webapp/sass/layout/_sidebar-left.scss | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'webapp') diff --git a/webapp/components/admin_console/setting.jsx b/webapp/components/admin_console/setting.jsx index 8fc5c2ad8..7dee6c8dc 100644 --- a/webapp/components/admin_console/setting.jsx +++ b/webapp/components/admin_console/setting.jsx @@ -5,7 +5,7 @@ import React from 'react'; export default class Setting extends React.Component { render() { - let marginClass; + let marginClass = ''; if (this.props.margin === 'small') { marginClass = ' form-group--small'; } diff --git a/webapp/sass/layout/_sidebar-left.scss b/webapp/sass/layout/_sidebar-left.scss index ad23df6ca..7ac1fee75 100644 --- a/webapp/sass/layout/_sidebar-left.scss +++ b/webapp/sass/layout/_sidebar-left.scss @@ -16,9 +16,10 @@ color: $white; font-size: .9em; height: 20px; - margin: 5px 0 6px; line-height: 20px; + margin: 5px 0 6px; position: relative; + z-index: 0; &:before { background: $light-gray; -- cgit v1.2.3-1-g7c22