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:
Screenshot if needed:

Any related issues:
cc: @bradleyrichter @jkup
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

the X is correct but this needs other cleanup like:
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:


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:
Done, for now :-) Your feedbacks are appreciated!
https://github.com/luixxiul/browser-laptop/commit/2327e9eca53eb4a637dd4c3e3a2a1d1f613c2fbc
Closing this in favor of #6202