Commit 88ca458d authored by Muhammadali's avatar Muhammadali

update version: 0.6.8

parent 9b87260a
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "0.6.7", "version": "0.6.8",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -2,19 +2,13 @@ ...@@ -2,19 +2,13 @@
import { Menu, Transition } from '@headlessui/react'; import { Menu, Transition } from '@headlessui/react';
import React, { Fragment } from 'react'; import React, { Fragment } from 'react';
import { styled } from 'styled-components';
function classNames(...classes) { function classNames(...classes) {
return classes.filter(Boolean).join(' '); return classes.filter(Boolean).join(' ');
} }
const Container = styled.div`
`;
const DropDownTailwind = ({ reasons, reason, selectFunc }) => { const DropDownTailwind = ({ reasons, reason, selectFunc }) => {
return ( return (
<Container>
<Menu as='div' className='text-left w-full h-full'> <Menu as='div' className='text-left w-full h-full'>
<div className='w-full'> <div className='w-full'>
<Menu.Button <Menu.Button
...@@ -47,9 +41,7 @@ const DropDownTailwind = ({ reasons, reason, selectFunc }) => { ...@@ -47,9 +41,7 @@ const DropDownTailwind = ({ reasons, reason, selectFunc }) => {
{({ active }) => ( {({ active }) => (
<p <p
className={classNames( className={classNames(
active active ? 'bg-gray-100 text-gray-900' : 'text-gray-700',
? 'bg-gray-100 text-gray-900'
: 'text-gray-700',
'block px-5 py-1 text-lg', 'block px-5 py-1 text-lg',
)}> )}>
{value} {value}
...@@ -62,7 +54,6 @@ const DropDownTailwind = ({ reasons, reason, selectFunc }) => { ...@@ -62,7 +54,6 @@ const DropDownTailwind = ({ reasons, reason, selectFunc }) => {
</Transition> </Transition>
)} )}
</Menu> </Menu>
</Container>
); );
}; };
......
...@@ -248,6 +248,7 @@ const WidjetButton = ({ data, onSetDnd, position }) => { ...@@ -248,6 +248,7 @@ const WidjetButton = ({ data, onSetDnd, position }) => {
</ModalPhoneDropDowm> </ModalPhoneDropDowm>
</WidjetBlock> </WidjetBlock>
<Modal <Modal
className='tailwindGlobalCss'
callAnswerType={modalState.callType} callAnswerType={modalState.callType}
hidden={ hidden={
modalState.bool modalState.bool
......
* { /* * {
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
} } */
/* @tailwind base; /* @tailwind base;
@tailwind components; @tailwind components;
@tailwind utilities; */ @tailwind utilities; */
.tailwindGlobalCss{
border: 5px solid red;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment