airgap-it / beacon-sdk

The beacon sdk allows developers of dApps and wallets on Tezos to implement the wallet interaction standard tzip-10.
https://walletbeacon.io
MIT License
102 stars 64 forks source link

Inconsistent UI due to relative units (ems) #776

Open AlexandrosGounis opened 2 months ago

AlexandrosGounis commented 2 months ago

Describe the bug (current behavior) Beacon's modals (UI) are not consistent across different DApps. This happens because font-size, line-height, margin and padding use relative em units that are affected by the font family used in the parent container. To achieve pixel perfect consistency, css definitions should use absolute units (ideally px), or a more consistent relative unit (i.e. rem)

To Reproduce Compare two different DApps, especially on mobile:

fxhash.xyz objkt.com