-
Notifications
You must be signed in to change notification settings - Fork 212
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
Responsive finance #619
Responsive finance #619
Conversation
2 similar comments
ff5fd8d
to
7a9af30
Compare
c39dc50
to
efcec23
Compare
cefb097
to
c7ecc0a
Compare
This is super hard when this happens the iframe's width is < 768 and there is no way to know if the menu panel exists and the window's width > 768. If it is alright with you I'll post this as an issue as it something that concerns all the iframe apps. |
@AquiGorka Awesome!
👍 |
- Use ButtonIcon. - Use springs.smooth. - Fix the shadow being cut at the end of the spring.
height: 100%; | ||
justify-content: space-between; | ||
align-items: center; | ||
justify-content: safe; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, does this need to be with an alignment keyword?
@@ -160,7 +197,7 @@ class Transfers extends React.Component { | |||
key={transfer.transactionHash} | |||
token={tokenDetails[toChecksumAddress(transfer.token)]} | |||
transaction={transfer} | |||
wideMode={width > 800} | |||
wideMode={width > 768 + 219} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if we should use a constant instead of 219
(is it the width of the side panel)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did this on purpose so we would not miss it and it definitely needs to be improved.
is it the width of the side panel
Yes it is.
${breakpoint( | ||
'medium', | ||
` | ||
margin: 10px 30px 20px 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, is the right margin here necessary?
Actually, I was thinking of increasing the top margin to align it with the filters on larger screens. Thoughts @bpierre @AquiGorka @jounih?
Currently:
With more top margin (30px
):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we push this to the backlog? And work it out with @jounih
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Proposed fix: #767
* Finance: add mobile call to action * Balances: add responsive styles for list * BalanceRow: add responsive rules * Transfers: add responsive rules for list * TransferRow: add responsive behaviour * Transfers: add filters to small screens * Add react-spring dep * Finance: add toggle filters button component * Transfers: animate filters toggle * TokenSelectorInstance: add responsive behaviour * Finance: add responsive min width * Move to styled v4 + @aragon/ui 0.30 (enable IdentityBadge popover) * Align the app bar with the Token Manager app * Spacing tweak * Tweak the filters opening / close button + transition - Use ButtonIcon. - Use springs.smooth. - Fix the shadow being cut at the end of the spring. * Update new transfer icon * Finance: fix non-function return to Transition * ToggleContent: update to react spring latest api * Transfers: remove filter title colons * Balances: fix list style * TransferRow: remove medium rules for small screen components
Pending: