Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

fix: sidebar widths and icon orientation #1642

Merged
merged 3 commits into from
Feb 24, 2020
Merged

fix: sidebar widths and icon orientation #1642

merged 3 commits into from
Feb 24, 2020

Conversation

dated
Copy link
Contributor

@dated dated commented Jan 30, 2020

Summary

The wallet details page uses the classes w-1/7 and w-6/7 when the sidebar is collapsed. However the latter class does not exist. Also 1/7 != 12.50%. I added the classes w-1/8 and w-7/8 instead.

This PR also includes some refactoring to get rid of multiple checks against the value of isExpanded.

Furthermore the icons for the Hide and Expand buttons are semantically wrong, e.g. the following icon shows the exact opposite (narrow to wide) of what is really intended (wide to narrow). The icons have been rotated and adjusted accordingly.

image

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@ghost
Copy link

ghost commented Jan 30, 2020

Thanks for submitting this pull request! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.

If no reviewer appears after a week, a reminder will be sent out.

@ghost ghost added Complexity: Medium Less than 256 lines changed. Type: Bugfix The pull request fixes an incorrect functionality or behaviour. labels Jan 30, 2020
@ghost
Copy link

ghost commented Feb 24, 2020

A member has approved this PR. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait.

Thank you for your contribution!

@ghost ghost added the Status: Member Approved The pull request has been approved by a member. label Feb 24, 2020
@alexbarnsley alexbarnsley added the Bounty: Tier 4 Awarded for small features, refactorings, improvements. This is valued at 20 USD. label Feb 24, 2020
@alexbarnsley alexbarnsley merged commit c877124 into ArkEcosystem:develop Feb 24, 2020
@ghost
Copy link

ghost commented Feb 24, 2020

Your pull request has been merged and marked as tier 4. It will earn you $20 USD.

@dated dated deleted the fix/sidebar branch February 24, 2020 23:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bounty: Tier 4 Awarded for small features, refactorings, improvements. This is valued at 20 USD. Complexity: Medium Less than 256 lines changed. Status: Member Approved The pull request has been approved by a member. Type: Bugfix The pull request fixes an incorrect functionality or behaviour.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants