safe-global / safe-wallet-web

Safe{Wallet} – smart contract wallet for Ethereum (ex-Gnosis Safe multisig)
https://app.safe.global
GNU General Public License v3.0
336 stars 400 forks source link

[UI bug] Wrong subtitle text style in the alert for transaction simulation #4042

Open TanyaEfremova opened 1 month ago

TanyaEfremova commented 1 month ago

Bug description

When running a simulation for a transaction, and when simulation fails, it gives an error alert. The styles are incorrect: the subtitle text is bigger than the title.

Environment

Steps to reproduce

  1. Go to a pending transaction (e.g. this one)
  2. Click 'Confirm'
  3. Click 'Simulate' in transaction checks block
  4. See the alert on the right side

Expected result

The subtitle in the alert should use Body 2 style.

Obtained result

The subtitle in the alert uses Body 1 style, which makes it bigger than the title

Screenshots

Screenshot 2024-08-06 at 11 23 21
MattWong-ca commented 3 weeks ago

Hey @TanyaEfremova, can I work on this?