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: Dashboard widgets do not align correctly #1867

Merged
merged 16 commits into from
Apr 17, 2023

Conversation

deepaksing
Copy link
Contributor

@deepaksing deepaksing commented Apr 13, 2023

What it solves

This PR fixes the issue: fixes #1863 Dashboard widgets do not align correctly. Previously The "Connect & transact" widgets do not always stack/span the height of the "New in Safe" widget. This happened because FeatureApps Component was not able to take the full height of its parent component.
Resolves #

How this PR fixes it

In this PR I gave 100% height to child component so that fixed the issue for medium sized screens.
For large Sized screens the issue was with the min-width of the component. Due to this components were getting stacked horizontally. So increasing min-width to 500px for larger screen size solved the issue

How to test it

Open the Safe on Gnosis Chain. Observe the "Connect & transact" widgets
Connect & transact widget will span properly on larger resolutions and span with the height of the "New in Safe" on medium resolutions,

Screenshots

For Medium Sized Screens
image

For large Sized Screens
image

Checklist

  • I've tested the branch on mobile 📱
  • I've documented how it affects the analytics (if at all) 📊
  • I've written a unit/e2e test for it (if applicable) 🧑‍💻

Copy link
Member

@usame-algan usame-algan left a comment

Choose a reason for hiding this comment

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

Looks great, thanks for implementing the changes! 🚀

I have tested this branch for web and mobile views ✅

@katspaugh katspaugh merged commit c5edbd0 into safe-global:dev Apr 17, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Apr 17, 2023
@katspaugh
Copy link
Member

Thank you @deepaksing! 🙏

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dashboard widgets do not align correctly
3 participants