-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(frontend): receive addresses conditionally render with or witho…
…ut text slot (#4044) # Motivation #3917 introduced a styling bug. The problem with the current approach is, that if we always pass a slot, this will cause the subcomponent ReceiveAddress to render the p element (even if the slot is empty) # Changes conditionally rendering with or without text slot depending of presence of a text. # Tests E2E tests were failing before. before (too much spacing below the label) ![image](https://github.com/user-attachments/assets/d501e55f-e1de-4caa-9559-25b3368d783e) after ![image](https://github.com/user-attachments/assets/15301209-23f0-4dfc-a2ff-03596c1b6ecf) --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
f304ed2
commit 8f50780
Showing
1 changed file
with
77 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters