Style fixes

This commit is contained in:
Mo Bitar
2018-01-24 12:41:35 -06:00
parent 2d2693597c
commit 2d71617f07
5 changed files with 9 additions and 2 deletions

View File

@@ -407,6 +407,9 @@ angular.module('app')
this.noteReady = false; this.noteReady = false;
$timeout(() => { $timeout(() => {
this.noteReady = true; this.noteReady = true;
$timeout(() => {
this.reloadFont();
})
}, 0) }, 0)
} }
} }

View File

@@ -41,7 +41,6 @@ class DesktopManager {
if(!this.isDesktop) return; if(!this.isDesktop) return;
var data = components.map((component) => { var data = components.map((component) => {
console.log("Web Sycying Component", this.convertComponentForTransmission(component));
return this.convertComponentForTransmission(component); return this.convertComponentForTransmission(component);
}) })
this.installationSyncHandler(data); this.installationSyncHandler(data);

View File

@@ -37,6 +37,10 @@ a.disabled {
pointer-events: none; pointer-events: none;
} }
#lock-item {
margin-left: 3px;
}
.icon.ion-locked { .icon.ion-locked {
margin-left: 5px; margin-left: 5px;
border-left: 1px solid gray; border-left: 1px solid gray;

View File

@@ -25,6 +25,7 @@
.panel { .panel {
width: 315px; width: 315px;
flex-grow: 0;
.header { .header {
justify-content: center; justify-content: center;

View File

@@ -36,6 +36,6 @@
.item{"ng-if" => "!ctrl.offline", "ng-click" => "ctrl.refreshData()"} .item{"ng-if" => "!ctrl.offline", "ng-click" => "ctrl.refreshData()"}
.label Refresh .label Refresh
.item{"ng-if" => "ctrl.hasPasscode()"} .item#lock-item{"ng-if" => "ctrl.hasPasscode()"}
.label .label
%i.icon.ion-locked{"ng-if" => "ctrl.hasPasscode()", "ng-click" => "ctrl.lockApp()"} %i.icon.ion-locked{"ng-if" => "ctrl.hasPasscode()", "ng-click" => "ctrl.lockApp()"}