1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-29 12:55:21 +01:00

body sizes are important

This commit is contained in:
Kyle Spearrin 2017-06-14 10:55:59 -04:00
parent 55e783fbcc
commit fcf86e96da
3 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@ angular
var self = this; var self = this;
self.currentYear = new Date().getFullYear(); self.currentYear = new Date().getFullYear();
self.animation = ''; self.animation = '';
self.isFirefox = utilsService.isFirefox(); self.lgBody = !utilsService.isFirefox();
$scope.$on('$stateChangeSuccess', function (event, toState, toParams, fromState, fromParams) { $scope.$on('$stateChangeSuccess', function (event, toState, toParams, fromState, fromParams) {
if (toParams.animation) { if (toParams.animation) {

View File

@ -90,7 +90,7 @@
<script src="app/lock/lockModule.js"></script> <script src="app/lock/lockModule.js"></script>
<script src="app/lock/lockController.js"></script> <script src="app/lock/lockController.js"></script>
</head> </head>
<body ng-controller="mainController as main" class="{{main.animation}}" ng-class="{lg: !main.isFirefox}"> <body ng-controller="mainController as main" class="{{main.animation}}" ng-class="{lg: main.lgBody}">
<div ui-view class="main-view"></div> <div ui-view class="main-view"></div>
</body> </body>
</html> </html>

View File

@ -12,15 +12,15 @@ html {
} }
body { body {
width: 320px; width: 320px !important;
height: 568px; height: 568px !important;
background-color: @background-color; background-color: @background-color;
overflow: hidden; overflow: hidden;
} }
body.lg { body.lg {
width: 375px; width: 375px !important;
height: 667px; height: 667px !important;
} }
.main-view { .main-view {