diff --git a/src/popup/app/global/mainController.js b/src/popup/app/global/mainController.js index 8c96dcf9b7..14e706a6cc 100644 --- a/src/popup/app/global/mainController.js +++ b/src/popup/app/global/mainController.js @@ -1,10 +1,11 @@ angular .module('bit.global') - .controller('mainController', function ($scope, $state, authService, toastr, i18nService, $analytics) { + .controller('mainController', function ($scope, $state, authService, toastr, i18nService, $analytics, utilsService) { var self = this; self.currentYear = new Date().getFullYear(); self.animation = ''; + self.isFirefox = utilsService.isFirefox(); $scope.$on('$stateChangeSuccess', function (event, toState, toParams, fromState, fromParams) { if (toParams.animation) { diff --git a/src/popup/index.html b/src/popup/index.html index 5c04049ac6..ef67a217ee 100644 --- a/src/popup/index.html +++ b/src/popup/index.html @@ -90,7 +90,7 @@ - +
diff --git a/src/popup/less/popup.less b/src/popup/less/popup.less index e06680855b..74e3798878 100644 --- a/src/popup/less/popup.less +++ b/src/popup/less/popup.less @@ -12,12 +12,17 @@ html { } body { - width: 320px !important; - height: 568px !important; + width: 320px; + height: 568px; background-color: @background-color; overflow: hidden; } +body.lg { + width: 375px; + height: 667px; +} + .main-view { position: absolute; width: 100%;