Skip to content

Commit

Permalink
fix: set max width and max height to inherit
Browse files Browse the repository at this point in the history
  • Loading branch information
FezVrasta authored Mar 20, 2024
1 parent 419336b commit bf39dac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ResizeListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ const style = {
overflow: 'hidden',
pointerEvents: 'none',
zIndex: -1,
maxHeight: 'inherit',
maxWidth: 'inherit',
};

// This automatically attaches to itself the resize event listener
Expand Down

0 comments on commit bf39dac

Please sign in to comment.