File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
components/login/controllers Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,8 @@ angular.module('mm.core.login')
8888 $scope . issue = issue ;
8989 var popup = $ionicPopup . show ( {
9090 templateUrl : 'core/components/login/templates/login-issue.html' ,
91- scope : $scope
91+ scope : $scope ,
92+ cssClass : 'mm-nohead mm-bigpopup'
9293 } ) ;
9394
9495 $scope . closePopup = function ( ) {
Original file line number Diff line number Diff line change @@ -773,6 +773,9 @@ angular.module('mm.core')
773773
774774 options . template = addFormatTextIfNeeded ( template ) ; // Add format-text to handle links.
775775 options . title = title ;
776+ if ( ! title ) {
777+ options . cssClass = 'mm-nohead' ;
778+ }
776779 return $ionicPopup . confirm ( options ) . then ( function ( confirmed ) {
777780 if ( ! confirmed ) {
778781 return $q . reject ( ) ;
Original file line number Diff line number Diff line change @@ -690,6 +690,16 @@ mm-timer {
690690 width : 320px ;
691691}
692692
693+ .popup-container.mm-nohead .popup-head {
694+ display : none ;
695+ }
696+
697+ .popup-container.mm-bigpopup .popup {
698+ width : 90% ; // Fallback of calc.
699+ width : calc (100% - 20px );
700+ max-width : none ;
701+ }
702+
693703// Inline icons and inputs.
694704
695705.mm-text-with-icon-right {
You can’t perform that action at this time.
0 commit comments