Commit 93b0fafb authored by Muhammadali's avatar Muhammadali

update-

parent a56e8714
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "3.0.4", "version": "3.0.5",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -59,7 +59,8 @@ const CallHistoryInputDropdown = ({ ...@@ -59,7 +59,8 @@ const CallHistoryInputDropdown = ({
hoverBool={ hoverBool={
call_history.length - numberSelectHistory === index call_history.length - numberSelectHistory === index
}> }>
{value.value} {value?.value}
<p className='itemTime'>{value?.time}</p>
</ModalDropDown.Item> </ModalDropDown.Item>
))} ))}
</ModalDropDown.Inset> </ModalDropDown.Inset>
......
...@@ -105,6 +105,7 @@ ModalDropDown.Item = styled.p` ...@@ -105,6 +105,7 @@ ModalDropDown.Item = styled.p`
padding: 5px 8px; padding: 5px 8px;
margin: 3px 0; margin: 3px 0;
border-radius: 10px; border-radius: 10px;
position: relative;
:hover { :hover {
background-color: #00000014; background-color: #00000014;
} }
...@@ -113,6 +114,13 @@ ModalDropDown.Item = styled.p` ...@@ -113,6 +114,13 @@ ModalDropDown.Item = styled.p`
backgroundColor: '#00000014', backgroundColor: '#00000014',
padding: '5px 12px', padding: '5px 12px',
}} }}
.itemTime {
position: absolute;
bottom: 5px;
right: 5px;
font-size: 10px;
color: #333;
}
`; `;
ModalDropDown.FullWindow = styled.div` ModalDropDown.FullWindow = styled.div`
display: ${({ visiblevalue }) => (visiblevalue ? 'block' : 'none')}; display: ${({ visiblevalue }) => (visiblevalue ? 'block' : 'none')};
......
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