Browser-laptop: Close button is not aligned with text in payment history modal

Created on 17 Nov 2016  路  13Comments  路  Source: brave/browser-laptop

Did you search for similar issues before submitting this one?
Yes

Describe the issue you encountered:
Close button is not aligned with text in payment history window

Expected behavior:
Should be aligned with the text

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    Windows 10 x64

  • Brave Version:
    0.12.8 (possibly on older versions too)

  • Steps to reproduce:

    1. Click on view payment history in Payments
    2. In the view payment history modal, close button is not aligned with the text
  • Screenshot if needed:
    image

  • Any related issues:
    cc: @bradleyrichter @jkup

design featurrewards

All 13 comments

Taking this and putting it in 0.12.11 unless anyone else wants it / feels it's a higher priority!

Its the opposite in Advance settings modal
image

the X is correct but this needs other cleanup like:

  • title bar has strange spacing in general
  • the button text needs more margin
  • orange and white button text is different
  • no margin below the popup titles
  • tiny arrows in popup
  • popups are missing correct styling
  • bottom buttons should be right aligned

I'm happy to take this one

@willy-b Awesome! @bradleyrichter can you upload a spec of what it should look like? Since there are a lot of changes needed let's edit the issue to reflect that!

Removing my assignment for now. @bradleyrichter when you get a spec of the desired design together maybe you can work with @willy-b to get it through?

I'm more than happy to help out / review when the time comes!

I must say the code of the Payments modal dialogs in preferences.less and modalOverlay.less is so unorganized that nobody could understand the structure of it clearly. I'm rewriting them to fix not only this, but also #5785 and #5799.

@luixxiul as an outsider, I took the minimum change approach when adding the Payment History modal, and probably made things that much messier :-).
Looking forward to seeing / learning from your rewrite of all the Payments/Preferences modal CSS.

These weren't too far from the intended design. They just needed more polish:

image

image

I agree. It is a matter of the code structure.

We're going to want to be very careful with changes to CSS. I am generally very supportive, but have I have two concerns:

  • We'll want to search the code / manually test to ensure other pages won't be impacted. If confidence is high with making changes, that is great :smile:

  • Many of the webdriver tests use the class names for selectors. We'll want to make sure to try the tests after any changes

With those in concerns in mind, solving this would be great. Thanks for looking into this- your attention to detail is very much appreciated! :smile:

Closing this in favor of #6202

Was this page helpful?
0 / 5 - 0 ratings