timolins / react-hot-toast

Smoking Hot React Notifications 🔥
https://react-hot-toast.com
MIT License
9.84k stars 331 forks source link

Minor style issue when using Google Translate plugin on site #308

Open dpMelian opened 1 year ago

dpMelian commented 1 year ago

Description

This is a very minor style issue I found while browsing the website. Feel free to close/delete if you want. Due to a CSS rule, which I think comes from Tailwind Typography package, a min-width of 100% is being applied to every div element inside the body.

Expected Behavior

Upon text selection, a Google Translate icon shows up as usual

Actual Behavior

Upon text selection, a Google Translate icon with over 900 pixels in height shows up

Steps to Reproduce the Problem

  1. Install Google Translate extension on Chromium based browser
  2. Go to https://react-hot-toast.com/
  3. Select some text

Specifications

Screenshots

image