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

View File

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

View File

@ -1,5 +1,5 @@
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 Dropdown from '../../../Dropdown';
import get from 'lodash/get';
@ -13,7 +13,7 @@ const Collection = ({collection, actions, dispatch, activeRequestTabId}) => {
const EnvIcon = forwardRef((props, ref) => {
return (
<div ref={ref} className="mr-2">
<IconDatabase size={18} strokeWidth={1.5}/>
<IconWorld size={18} strokeWidth={1.5}/>
</div>
);
});