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

Enable vertical scroll for new exchange and fix layout of exchange on mobile #50

Merged
merged 5 commits into from
Oct 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class StackNavigationView extends View
layer.style.top = "0"
layer.style.width = "100%"
layer.style.height = "100%"
layer.id = "stack-view-stage-view"
layer.style.overflow = "hidden" // we're going to say subviews are not allowed to hijack scroll - if they want to, they have to create their own wrapper - or else transitions cause scroll bar to appear
}
self.addSubview(view)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ class AddWallet_WizardController
const self = this
function _with(raw__locale_code)
{
var compatibleLocaleCode = mnemonic_languages.compatible_code_from_locale(raw__locale_code)
var compatibleLocaleCode = mnemonic_languages.compatibleCodeFromLocale(raw__locale_code)
if (compatibleLocaleCode == null) {
compatibleLocaleCode = "en" // fall back to English
}
Expand Down
6 changes: 6 additions & 0 deletions local_modules/assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2636,4 +2636,10 @@ div.customSelect {}

.selectIndicator {
pointer-events: none; border: none; position: absolute; width: 8px; height: 13px; z-index: 9; background-image: url(../../../assets/img/[email protected]); background-repeat: no-repeat; background-position: center center; background-size: 8px 13px;
}

@media screen and (max-width: 548px) {
#stack-view-stage-view {
overflow-y: scroll !important;
}
}
Loading