Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Align the first button on error pages #10680

Merged
merged 1 commit into from
Sep 5, 2017
Merged

Align the first button on error pages #10680

merged 1 commit into from
Sep 5, 2017

Conversation

luixxiul
Copy link
Contributor

@luixxiul luixxiul commented Aug 28, 2017

Fix #10679

Auditors: @cezaraugusto

Test Plan:

  1. Open https://expired.badssl.com/
  2. Make sure the first button is aligned to the left

Submitter Checklist:

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).
  • Tagged reviewers and labelled the pull request as needed.

Test Plan:

Reviewer Checklist:

Tests

  • Adequate test coverage exists to prevent regressions
  • Tests should be independent and work correctly when run individually or as a suite ref
  • New files have MPL2 license header

Setting the milestone to 0.19 as the regression has been introduced with 3dfc598#diff-0ff973318abdc5c07f55cefe86bd5ed7R109.

Fix #10679

Auditors: @cezaraugusto

Test Plan:
1. Open https://expired.badssl.com/
2. Make sure the first button is aligned to the left
@@ -23,11 +23,8 @@
.buttons {
display: flex;
flex-flow: row wrap;
position: relative;
right: .2em; // cancel margin: .2em to align .buttons and .certErrorText
Copy link
Contributor Author

@luixxiul luixxiul Aug 28, 2017

Choose a reason for hiding this comment

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

See: 98217b3#diff-85bb393e13c9679fa6b5d5ea691bfdeaR27

We don't need those as the button does not have margin by default (unless tagged with groupedItem)

Copy link
Contributor

@cezaraugusto cezaraugusto left a comment

Choose a reason for hiding this comment

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

++

@cezaraugusto cezaraugusto merged commit 69ca5ca into brave:master Sep 5, 2017
@cezaraugusto cezaraugusto deleted the polish-errorPage branch September 5, 2017 05:13
cezaraugusto added a commit that referenced this pull request Sep 5, 2017
Align the first button on error pages
cezaraugusto added a commit that referenced this pull request Sep 5, 2017
Align the first button on error pages
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants