Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: WC session list height #2642

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/walletconnect/SessionList/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
.sessionListItem {
border: 1px solid var(--color-border-light);
border-radius: 6px;
height: 56px;
min-height: 56px;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting a pixel height of anything is per se an anti-pattern. Why can't it just be the size of the content?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's to match the height of the input field/our "global" Accordion min-height:

image

vs.

image

Shall I remove it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any difference 🤷

}

.sessionListAvatar {
Expand Down
Loading