Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Conversation

@AlbionaHoti
Copy link

Hi @lmorchard, can you please review this issue?

fixes #6257

@AlbionaHoti AlbionaHoti force-pushed the 6257-Use-buttons-instead-of-links branch from ea36e4c to 54cc73c Compare March 25, 2019 16:09
Copy link

@shane-tomlinson shane-tomlinson left a comment

Choose a reason for hiding this comment

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

Thanks for this contribution @AlbionaHoti, you are well on your way to having this merged. I left a few inline comments, and am leaving a couple more:

}

.save-option-button {
background: none !important;

Choose a reason for hiding this comment

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

Try to not use !important unless absolutely necessary, it makes the assumption that we'll never want to override this style. It's far preferable is to use a more specific selector. See https://css-tricks.com/when-using-important-is-the-right-choice/ for reference.

Choose a reason for hiding this comment

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

Following on, we'll want the :focus state of these buttons to mirror the :focus state on the existing links and look like:

Screenshot 2019-03-26 at 10 36 53

Currently the :focus looks like:

Screenshot 2019-03-26 at 10 35 15

margin-top: 25px;
}

.save-option-button {

Choose a reason for hiding this comment

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

If we add these styles to the avatar change modal as specified in the original issue, these styles will need to be extracted into a shared location. I suggest somewhere in _button-row.scss.

Albiona added 3 commits April 3, 2019 02:00
style(buttons): use buttons instead of links

style(buttons): use buttons in recovery_key file

refactor(style): remove unnecessary style

refactor(style): remove unnecessary style

refactor(style): remove unnecessary style

refactor(style): remove unnecessary style

refactor(style): remove unnecessary style

refactor(style): remove unnecessary style

refactor(style): remove unnecessary style

refactor(style): remove unnecessary style

refactor(style): remove unnecessary style

refactor(style): remove unnecessary style

refactor(style): remove unnecessary style
refactor(settings): order properties

refactor(settings): order properties

refactor(settings): order properties

refactor(settings): order properties
@AlbionaHoti AlbionaHoti force-pushed the 6257-Use-buttons-instead-of-links branch from 2266053 to 6e0ea9b Compare April 3, 2019 00:06
@shane-tomlinson
Copy link

This repo has been deprecated and migrated to https://github.com/mozill/fxa. Please open this PR against that repo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants