gdirk07 / PokemonChecker

Playing around with APIs
https://gdirk07.github.io/PokemonChecker/
0 stars 0 forks source link

Added css to body to prevent MUI model from adding a padding #91

Closed gdirk07 closed 2 years ago

gdirk07 commented 2 years ago

There's a weird issue with MUI when using something that inherits a model (like popover) in which it tries to hide scrollbar to prevent scrolling while an item has a popover displayed. What's happening is its just adding a ~17px border to the right in the body.

gdirk07 commented 2 years ago

To reproduce the issue on Master.

  1. Search for any Pokemon
  2. Have the Pokemon display in the quickview
  3. click on any ability You should see the Popover added a padding to the border