better handle wide screens

This commit is contained in:
Marty Alcala 2016-10-12 19:09:54 -04:00
commit 54530ed04a
3 changed files with 6 additions and 4 deletions

View file

@ -986,7 +986,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
profileService.storeProfileIfDirty(); profileService.storeProfileIfDirty();
$log.debug('Profile loaded ... Starting UX.'); $log.debug('Profile loaded ... Starting UX.');
scannerService.gentleInitialize(); scannerService.gentleInitialize();
//$state.go('tabs.home'); $state.go('tabs.home');
} }
}); });
}); });

View file

@ -9,6 +9,7 @@
padding-left: 65px; padding-left: 65px;
padding-bottom: 0; padding-bottom: 0;
margin-bottom: 1px; margin-bottom: 1px;
overflow: visible;
> i { > i {
padding: 0; padding: 0;

View file

@ -7,8 +7,8 @@ action-sheet {
width: 100%; width: 100%;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
left: 0; left: 50%;
transform: translateY(100%); transform: translateY(100%) translateX(-50%);
transition: transform 250ms cubic-bezier(0.4, 0.0, 0.2, 1); transition: transform 250ms cubic-bezier(0.4, 0.0, 0.2, 1);
z-index: 100; z-index: 100;
padding-top: 1.75rem; padding-top: 1.75rem;
@ -16,9 +16,10 @@ action-sheet {
padding-right: .75rem; padding-right: .75rem;
color: #2f2f2f; color: #2f2f2f;
padding-bottom: 3.5rem; padding-bottom: 3.5rem;
max-width: 550px;
&.slide-up { &.slide-up {
transform: translateY(0); transform: translateY(0) translateX(-50%);
box-shadow: 0px 2px 13px 3px rgba(0, 0, 0, .3); box-shadow: 0px 2px 13px 3px rgba(0, 0, 0, .3);
} }