Skip to content
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

Fixing overflow issues for seed phrase confirmation and dapp connect #113

Merged
merged 1 commit into from Jan 31, 2020

Conversation

@ryanml
Copy link
Member

ryanml commented Jan 31, 2020

Fixes: brave/brave-browser#7882
Fixes: brave/brave-browser#7045

We initially removed the need for overflow-y: scroll when our outer container, housing the Brave Settings header was implemented.

There are two exceptions for this, the connect dapp screen and confirm seed phrase screen.

Unfortunately since this is a top level container that does not receive a selector update when screens change, this can not be targeted with CSS.

A good followup upstream would be to actually make these designs resize, however for now this allows users to scroll without the need to zoom out.

@ryanml ryanml requested a review from bbondy Jan 31, 2020
@ryanml ryanml self-assigned this Jan 31, 2020

module.exports = class BraveProviderPageContainer extends ProviderPageContainer {
componentDidMount () {
if (getEnvironmentType(window.location.href) !== ENVIRONMENT_TYPE_NOTIFICATION) {

This comment has been minimized.

Copy link
@ryanml

ryanml Jan 31, 2020

Author Member

Notification view should not receive this style att

@bbondy
bbondy approved these changes Jan 31, 2020
@ryanml ryanml merged commit 0ab5afc into master Jan 31, 2020
1 check passed
1 check passed
Travis CI - Pull Request Build Passed
Details
@ryanml ryanml deleted the overflow-scroll-fixes branch Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.