Skip to content

Commit

Permalink
Replaced inset css property because of compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
bgonp committed Mar 21, 2021
1 parent 80058f0 commit e24d6ee
Show file tree
Hide file tree
Showing 2 changed files with 5 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-drawarea",
"version": "1.1.0",
"version": "1.1.1",
"description": "React components to draw with mouse or touch events",
"author": {
"name": "Borja González",
Expand Down
5 changes: 4 additions & 1 deletion src/components/Drawable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ type Props = {

const style: CSSProperties = {
position: 'absolute',
inset: 0,
top: 0,
right: 0,
bottom: 0,
left: 0,
}

const Drawable: FC<Props> = ({ addPoint, finishLine }) => {
Expand Down

0 comments on commit e24d6ee

Please sign in to comment.