chore: style updates

This commit is contained in:
Anoop M D 2022-01-01 22:26:56 +05:30
parent 93fdcc7b23
commit 6402e87d83
3 changed files with 12 additions and 4 deletions

View File

@ -7,6 +7,10 @@ const Wrapper = styled.div`
justify-content: flex-end; justify-content: flex-end;
} }
.indent-block {
border-right: solid 1px #e1e1e1;
}
.collection-item-name { .collection-item-name {
height: 1.875rem; height: 1.875rem;
cursor: pointer; cursor: pointer;
@ -39,6 +43,10 @@ const Wrapper = styled.div`
.menu-icon { .menu-icon {
color: white !important; color: white !important;
} }
.indent-block {
border-right: solid 1px #6faaea;
}
} }
div.tippy-box { div.tippy-box {

View File

@ -61,11 +61,11 @@ const CollectionItem = ({item, collectionId, actions, dispatch, activeRequestTab
{indents && indents.length ? indents.map((i) => { {indents && indents.length ? indents.map((i) => {
return ( return (
<div <div
className="indent-block"
key={i} key={i}
style = {{ style = {{
width: 16, width: 16,
height: '100%', height: '100%'
borderRight: 'solid 1px #e1e1e1'
}} }}
> >
&nbsp;{/* Indent */} &nbsp;{/* Indent */}

View File

@ -1,5 +1,5 @@
import React, { forwardRef, useRef } from 'react'; import React, { forwardRef, useRef } from 'react';
import { IconChevronRight, IconDots, IconDatabase } from '@tabler/icons'; import { IconChevronRight, IconDots, IconWorld } from '@tabler/icons';
import CollectionItem from './CollectionItem'; import CollectionItem from './CollectionItem';
import Dropdown from '../../../Dropdown'; import Dropdown from '../../../Dropdown';
import get from 'lodash/get'; import get from 'lodash/get';
@ -13,7 +13,7 @@ const Collection = ({collection, actions, dispatch, activeRequestTabId}) => {
const EnvIcon = forwardRef((props, ref) => { const EnvIcon = forwardRef((props, ref) => {
return ( return (
<div ref={ref} className="mr-2"> <div ref={ref} className="mr-2">
<IconDatabase size={18} strokeWidth={1.5}/> <IconWorld size={18} strokeWidth={1.5}/>
</div> </div>
); );
}); });