Skip to content

Commit

Permalink
Merge pull request #145 from KarimMokhtar/dev
Browse files Browse the repository at this point in the history
Hover state fixes
  • Loading branch information
KarimMokhtar authored Oct 22, 2024
2 parents 7147b96 + 07573bb commit 9a546f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-drag-drop-files",
"version": "2.3.11",
"version": "2.4.0",
"description": "Light React Drag & Drop files and images library styled by styled-components",
"author": "Karim <karimmokhtar28@gmail.com>",
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion src/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,13 @@ export const HoverMsg = styled.div`
border: dashed 2px ${darkGray};
border-radius: 5px;
background-color: ${lightGray};
opacity: 0.5;
opacity: 0.9;
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
z-index: 999;
& > span {
position: absolute;
top: 50%;
Expand Down

0 comments on commit 9a546f9

Please sign in to comment.