Uniswap / docs

📓 Uniswap V3 docs website
https://docs.uniswap.org
317 stars 526 forks source link

The welcome section tiles are cut off at various screen widths. #722

Open cojohen opened 3 months ago

cojohen commented 3 months ago

Issue

The three tiles displayed under the Welcome to Uniswap Docs heading in the first section of the page are out of view at various screen-widths, affecting accessibility, look-and-feel and readability.

Reproducing the Issue

  1. Navigate to https://docs.uniswap.org/
  2. Locate the three tiles under the Welcome to Uniswap Docs heading in the first section of the page.
  3. Adjust the browser window width downward until the page is between 1071px and 961px.
  4. Observe that the issue is visible between these viewport widths. Notice that the text contained within the rightmost and leftmost tiles begins to be cutoff making it not visible to the user. (See screenshots below)

Screenshots

Screen-width is 1071px

The tiles begin to overflow the viewport and are cutoff from view. Screenshot 2024-07-07 at 08 48 00

Screen-width is 1039px

Tiles are overflowing the viewport. Text of the rightmost tile is cutoff from view. Screenshot 2024-07-07 at 08 48 35

Screen-width is 961px

Tiles are overflowing the viewport. Text of the rightmost and leftmost tile is cutoff from view. Screenshot 2024-07-07 at 08 48 59

Expected Behavior

The tiles should not overflow the viewport and the texts contained within the tiles should be fully visible at all viewport sizes. The tiles should be fully responsive to the user's screen size - they should automatically scale in size such that the text is always readable.