Commit 32cd7779 authored by Muhammadali's avatar Muhammadali

update-

parent 4ceb5dd8
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "2.7.7", "version": "2.7.8",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -36,16 +36,16 @@ const CallHistoryInputDropdown = ({ ...@@ -36,16 +36,16 @@ const CallHistoryInputDropdown = ({
{Boolean(call_history.length) && ( {Boolean(call_history.length) && (
<> <>
<ModalDropDown visiblevalue={modal}> <ModalDropDown visiblevalue={modal}>
<ModalDropDown.Inset <ModalDropDown.Inset id='data'>
id='data'
hoverBool={call_history.length - numberSelectHistory === index}>
{call_history.reverse().map((value, index) => ( {call_history.reverse().map((value, index) => (
<p <ModalDropDown.Item
className='item'
key={index} key={index}
onClick={() => selectFuncInset(value)}> onClick={() => selectFuncInset(value)}
hoverBool={
call_history.length - numberSelectHistory === index
}>
{value} {value}
</p> </ModalDropDown.Item>
))} ))}
</ModalDropDown.Inset> </ModalDropDown.Inset>
</ModalDropDown> </ModalDropDown>
......
...@@ -79,17 +79,6 @@ ModalDropDown.Inset = styled.div` ...@@ -79,17 +79,6 @@ ModalDropDown.Inset = styled.div`
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow-y: scroll; overflow-y: scroll;
.item {
font-size: 18px;
transition: 0.2s;
padding: 5px 2px;
margin: 3px 0;
border-radius: 10px;
:hover {
background-color: #00000014;
}
background-color: ${({ hoverBool }) => (hoverBool ? '#00000014' : '')};
}
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 5px; width: 5px;
} }
...@@ -110,6 +99,17 @@ ModalDropDown.Inset = styled.div` ...@@ -110,6 +99,17 @@ ModalDropDown.Inset = styled.div`
background: #555; background: #555;
} }
`; `;
ModalDropDown.Item = styled.p`
font-size: 18px;
transition: 0.2s;
padding: 5px 2px;
margin: 3px 0;
border-radius: 10px;
:hover {
background-color: #00000014;
}
background-color: ${({ hoverBool }) => (hoverBool ? '#00000014' : '')};
`;
ModalDropDown.FullWindow = styled.div` ModalDropDown.FullWindow = styled.div`
display: ${({ visiblevalue }) => (visiblevalue ? 'block' : 'none')}; display: ${({ visiblevalue }) => (visiblevalue ? 'block' : 'none')};
position: fixed; position: fixed;
......
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